Cargo Features
[dependencies]
csscolorparser = { version = "0.7.0", default-features = false, features = ["named-colors", "rust-rgb", "cint", "lab", "serde"] }
- default = named-colors
-
The
named-colors
feature is set by default whenevercsscolorparser
is added without
somewhere in the dependency tree.default-features = false - named-colors default = phf
- rust-rgb = rgb
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- cint implicit feature
-
Enables cint
cint:
A lean, minimal, and stable set of types for color interoperation between crates in Rust
- lab implicit feature
-
Enables lab
lab:
Tools for converting RGB colors to the CIE-L*a*b* color space, and comparing differences in color
- phf named-colors
- rgb rust-rgb?
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework