Cargo Features
[dependencies]
confique = { version = "0.2.5", default-features = false, features = ["yaml", "json5", "toml"] }
- default = json5, toml, yaml
-
These default features are set whenever
confique
is added without
somewhere in the dependency tree.default-features = false - yaml default = serde_yaml
-
Affects
confique::yaml
,confique::Config.from_file
…
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.
- json5 default
-
Affects
confique::json5
,confique::Config.from_file
… - serde_yaml yaml
- toml default
-
Enables toml ^0.5
Affects
confique::toml
,confique::Config.from_file
…