Cargo Features

Figment has no features set by default.

[dependencies]
figment = { version = "0.10.12", features = ["env", "json", "yaml", "parse-value", "test", "toml"] }
env = parse-value, pear
json = serde_json
yaml = serde_yaml
parse-value env? = pear
test = parking_lot, tempfile

Features from optional dependencies

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

pear env? parse-value?

With default (color)

toml implicit feature

With default features

serde_json json?

With default (std)

serde_yaml yaml?
tempfile test?
parking_lot test?