Cargo Features
[dependencies]
confy = { version = "2.0.0", default-features = false, features = ["toml_conf", "basic_toml_conf", "yaml_conf", "ron_conf"] }
- default = toml_conf
-
The
toml_conffeature is set by default wheneverconfyis added withoutsomewhere in the dependency tree.default-features = false - toml_conf default = toml
- basic_toml_conf = basic-toml
- yaml_conf = serde_yaml
- ron_conf = ron
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.