mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 23:13:13 -04:00
Removes `egui_assert` etc and replaces it with normal `debug_assert` calls. Previously you could opt-in to more runtime checks using feature flags. Now these extra runtime checks are always enabled for debug builds. You are most likely to encounter them if you use negative sizes or NaNs or other similar bugs. These usually indicate bugs in user space.
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
name = "ecolor"
|
|
version.workspace = true
|
|
authors = [
|
|
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
|
|
"Andreas Reich <reichandreas@gmx.de>",
|
|
]
|
|
description = "Color structs and color conversion utilities"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
homepage = "https://github.com/emilk/egui"
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
repository = "https://github.com/emilk/egui"
|
|
categories = ["mathematics", "encoding"]
|
|
keywords = ["gui", "color", "conversion", "gamedev", "images"]
|
|
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[lib]
|
|
|
|
|
|
[features]
|
|
default = []
|
|
|
|
|
|
[dependencies]
|
|
#! ### Optional dependencies
|
|
|
|
## [`bytemuck`](https://docs.rs/bytemuck) enables you to cast `ecolor` types to `&[u8]`.
|
|
bytemuck = { version = "1.7.2", optional = true, features = ["derive"] }
|
|
|
|
## [`cint`](https://docs.rs/cint) enables interoperability with other color libraries.
|
|
cint = { version = "0.3.1", optional = true }
|
|
|
|
## Enable the [`hex_color`] macro.
|
|
color-hex = { version = "0.2.0", optional = true }
|
|
|
|
## Enable this when generating docs.
|
|
document-features = { workspace = true, optional = true }
|
|
|
|
## Allow serialization using [`serde`](https://docs.rs/serde).
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|