Cargo Features
[dependencies]
serde-select = { version = "0.1.0-alpha.1", default-features = false, features = ["backend_toml", "backend_serde_json"] }
- default = backend_serde_json, backend_toml
-
These default features are set whenever
serde-select
is added without
somewhere in the dependency tree.default-features = false - backend_toml default = toml
- backend_serde_json default = serde_json
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.