Cargo Features
cfg-rs has no features set by default.
[dependencies]
cfg-rs = { version = "0.4.1", features = ["full", "ini", "rand", "yaml"] }
- full = ini, json, log, rand, toml, yaml
- ini full? = rust-ini
- rand full? = rand_chacha, rand_core
-
Affects
value::RandValue
… - yaml full? = yaml-rust
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.