Cargo Features

[dependencies]
confy = { version = "2.0.0", default-features = false, features = ["toml_conf", "basic_toml_conf", "yaml_conf", "ron_conf"] }
default = toml_conf

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

toml_conf default = toml
basic_toml_conf = basic-toml
yaml_conf = serde_yaml
ron_conf = ron

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.

ron ron_conf?

Enables ron ^0.11.0

serde_yaml yaml_conf?
basic-toml basic_toml_conf?
toml toml_conf