Cargo Features

[dependencies]
storm-config = { version = "0.6.2", default-features = false, features = ["async", "convert-case", "ini", "json5", "preserve_order", "yaml", "ron", "serde_derive", "toml"] }
default = async, convert-case, ini, json5, ron, toml, yaml

These default features are set whenever storm-config is added without default-features = false somewhere in the dependency tree.

async default = async-trait

Affects source::AsyncSource

convert-case default = convert_case
ini default = rust-ini
json5 default = json5_rs

Enables serde =1.0.203

preserve_order = indexmap

Enables indexmap of optional ron and preserve_order of serde_json =1.0.117 and optional toml =0.8.14

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

yaml default = 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.

async-trait async

Enables async-trait =0.1.80

convert_case convert-case

Enables convert_case =0.6.0

indexmap preserve_order?

Enables indexmap =2.2.6

json5_rs json5

Enables json5

ron default
rust-ini ini

Enables rust-ini =0.21.0

serde_derive implicit feature

Enables serde_derive =1.0.203

serde_derive:

Macros 1.1 implementation of #[derive(Serialize, Deserialize)]

toml default

Enables toml =0.8.14

yaml-rust yaml