Cargo Features
[dependencies]
colorparser-css = { version = "0.1.3", default-features = false, features = ["named-colors", "fast-hash", "theme", "schema", "serde"] }
- default = fast-hash, named-colors, serde, theme
-
These default features are set whenever
colorparser-css
is added without
somewhere in the dependency tree.default-features = false - named-colors default
-
Affects
named_colors::NAMED_COLORS
… - fast-hash default = fx-hash
- theme default = serde_jsonc2
-
Affects
parser::theme
,utils::PathClean
,utils::clean
… - schema = schema_jsonrs
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.
- fx-hash fast-hash
- serde default
- serde_jsonc2 theme
- schema_jsonrs schema?