Cargo Features
[dependencies]
material-colors = { version = "0.4.2", default-features = false, features = ["std", "image", "serde", "libm"] }
- default = std
-
The
std
feature is set by default whenevermaterial-colors
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables runtime-rng and std of ahash and std of indexmap and serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - image
-
Enables image
Affects
material-colors::image
… - serde std
-
Enables serde
- libm
-
Enables libm
Affects
utils::no_std
…