Cargo Features

cli-config has no features set by default.

[dependencies]
cli-config = { version = "0.1.0", features = ["toml", "json", "yaml"] }
toml

Enables toml ^0.5.11

Affects fs::TOMLFile

json = serde_json

Affects fs::JSONFile

yaml = serde_yaml

Affects fs::YAMLFile

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.

serde_json json?
serde_yaml yaml?