Cargo Features
[dependencies]
xcfg-rs = { version = "0.3.1", default-features = false, features = ["full", "derive", "toml", "yaml", "json"] }
- default = toml
-
The
toml
feature is set by default wheneverxcfg-rs
is added without
somewhere in the dependency tree.default-features = false - full = derive, json, toml, yaml
- derive full?
-
Enables xcfg-derive
- toml default full?
-
Enables toml
- yaml full?
-
Enables serde_yml
- json full?
-
Enables serde_json
xcfg-rs has 6 features without comments.