Cargo Features
[dependencies]
conrig = { version = "0.3.0", default-features = false, features = ["all-format", "json", "yaml", "full-desc"] }
- default = all-format, full-desc
-
These default features are set whenever
conrig
is added without
somewhere in the dependency tree.default-features = false - all-format default = json, ron, toml, yaml
-
formats
- json all-format = serde_json
- yaml all-format = serde_yaml
- full-desc default
-
error messages
Affects
error::LangError
,error::FileSystemError
…
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.
- ron all-format
-
Enables ron
optional – config file format
- serde_json json?
- serde_yaml yaml?
- toml all-format