Cargo Features
[dependencies]
configgen-rs = { version = "0.1.3", default-features = false, features = ["json", "json5", "convert-case", "toml", "ron"] }
- default = convert-case, json, json5, ron, toml
-
These default features are set whenever
configgen-rs
is added without
somewhere in the dependency tree.default-features = false - json default = serde_json
- json5 default = json5_rs
- convert-case default = convert_case
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.7
- serde_json json
- ron default
- json5_rs json5
-
Enables json5
- convert_case convert-case