Cargo Features
[dependencies]
confy = { version = "0.6.1", default-features = false, features = ["toml_conf", "yaml_conf", "ron_conf"] }
- default = toml_conf
-
The
toml_conf
feature is set by default wheneverconfy
is added without
somewhere in the dependency tree.default-features = false - toml_conf default = 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.