Cargo Features
[dependencies]
config-spirit-fork = { version = "0.1.0", default-features = false, features = ["json", "yaml", "hjson", "ini", "toml"] }
- default = hjson, ini, json, toml, yaml
-
These default features are set whenever
config-spirit-fork
is added without
somewhere in the dependency tree.default-features = false - json default = serde_json
- yaml default = yaml-rust
- hjson default = serde-hjson
- ini default = rust-ini
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.
- toml default
-
Enables toml ^0.5
- serde_json json
- yaml-rust yaml
- serde-hjson hjson
-
Enables serde-hjson ^0.9
- rust-ini ini
-
Enables rust-ini ^0.13