Cargo Features

[dependencies]
config = { version = "0.13.4", default-features = false, features = ["json", "yaml", "ini", "json5", "preserve_order", "toml", "ron"] }
default = ini, json, json5, ron, toml, yaml

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

json default = serde_json
yaml default = yaml-rust
ini default = rust-ini
json5 default = json5_rs
preserve_order = indexmap

Enables indexmap of ron ^0.7, preserve_order of serde_json and toml ^0.5

Affects map::Map

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

toml default

Enables toml ^0.5

serde_json json

With default (std)

yaml-rust yaml
rust-ini ini

Enables rust-ini ^0.18

ron default

Enables ron ^0.7

json5_rs json5

Enables json5

indexmap preserve_order?

Enables serde-1 of indexmap ^1.7.0