Cargo Features

[dependencies]
configit = { version = "0.3.1", default-features = false, features = ["toml_conf", "yaml_conf"] }
default = toml_conf

The toml_conf feature is set by default whenever configit is added without default-features = false somewhere in the dependency tree.

toml_conf default = toml
yaml_conf = serde_yaml

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_yaml yaml_conf?

Enables serde_yaml ^0.8

toml toml_conf

Enables toml ^0.5