Cargo Features
[dependencies]
storm-config = { version = "0.2.8", default-features = false, features = ["yaml", "ini", "json5", "convert-case", "preserve_order", "async", "serde_derive", "toml", "ron"] }
- default = async, convert-case, ini, json5, ron, toml, yaml
-
These default features are set whenever
storm-config
is added without
somewhere in the dependency tree.default-features = false - yaml default = yaml-rust
- ini default = rust-ini
- json5 default = json5_rs
-
Enables serde
- convert-case default = convert_case
- preserve_order = indexmap
-
Enables indexmap of optional ron and preserve_order of serde_json and optional toml
serde_json:
Make serde_json::Map use a representation which maintains insertion order.
This allows data to be read into a Value and written back to a JSON string while preserving the order of map keys in the input.Affects
map::Map
… - async default = async-trait
-
Affects
source::AsyncSource
…
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.
- async-trait async
- convert_case convert-case
- serde_derive implicit feature
-
Enables serde_derive
serde_derive:
Macros 1.1 implementation of #[derive(Serialize, Deserialize)]
- json5_rs json5
-
Enables json5
- toml default
- ron default
- rust-ini ini
- indexmap preserve_order?
- yaml-rust yaml