[package] name = "colstodian" version = "0.1.0-rc.3" authors = ["Gray Olson "] license = "MIT OR Apache-2.0 OR Zlib" edition = "2018" description = "An opinionated, practical color management library for games and graphics." documentation = "https://docs.rs/colstodian" homepage = "https://github.com/termhn/colstodian" repository = "https://github.com/termhn/colstodian" [package.metadata.docs.rs] features = ["std", "with-serde"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/state/manifest.html [dependencies] kolor = { version = "^0.1.6", default-features = false, features = ["glam", "f32", "color-matrices"] } # kolor = { version = "^0.1.6", default-features = false, features = ["glam", "f32", "color-matrices"], path = "../kolor/build/kolor" } # kolor = { version = "^0.1.6", default-features = false, features = ["glam", "f32", "color-matrices"], git = "https://github.com/termhn/kolor", branch = "glam-feature" } glam = { version = "0.17.1", default-features = false, features = ["bytemuck"] } # keep in sync with kolor serde = { version = "1", optional = true, features = ["derive"] } bytemuck = { version = "1.5.1" } num-traits = { version = "^0.2.14", optional = true, default-features = false } cint = { version = "^0.2.1", features = ["bytemuck"] } [features] default = ["std"] # enable support for the standard library std = ["kolor/std", "glam/std"] # libm is required when building with no_std libm = ["kolor/libm", "glam/libm", "num-traits", "num-traits/libm"] # add serde Serialize/Deserialize to relevant types with-serde = ["serde", "kolor/serde1", "glam/serde"]