2022-12-06 19:42:25 +00:00
|
|
|
[package]
|
|
|
|
name = "ecolor"
|
2023-02-08 19:11:21 +00:00
|
|
|
version = "0.21.0"
|
2022-12-06 19:42:25 +00:00
|
|
|
authors = [
|
|
|
|
"Emil Ernerfeldt <emil.ernerfeldt@gmail.com>",
|
|
|
|
"Andreas Reich <reichandreas@gmx.de>",
|
|
|
|
]
|
|
|
|
description = "Color structs and color conversion utilities"
|
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.65"
|
|
|
|
homepage = "https://github.com/emilk/egui"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/emilk/egui"
|
2022-12-12 15:18:05 +00:00
|
|
|
categories = ["mathematics", "encoding"]
|
2022-12-06 19:42:25 +00:00
|
|
|
keywords = ["gui", "color", "conversion", "gamedev", "images"]
|
|
|
|
include = ["../LICENSE-APACHE", "../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
|
|
|
|
## Enable additional checks if debug assertions are enabled (debug builds).
|
|
|
|
extra_debug_asserts = []
|
|
|
|
## Always enable additional checks.
|
|
|
|
extra_asserts = []
|
|
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
#! ### Optional dependencies
|
|
|
|
|
2022-12-08 13:49:13 +00:00
|
|
|
## [`bytemuck`](https://docs.rs/bytemuck) enables you to cast `ecolor` types to `&[u8]`.
|
2022-12-06 19:42:25 +00:00
|
|
|
bytemuck = { version = "1.7.2", optional = true, features = ["derive"] }
|
|
|
|
|
|
|
|
## [`cint`](https://docs.rs/cint) enables interopability 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 = { version = "0.2", optional = true }
|
|
|
|
|
|
|
|
## Allow serialization using [`serde`](https://docs.rs/serde).
|
|
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|