Cargo Features

[dependencies]
ptree = { version = "0.5.1", default-features = false, features = ["ansi", "conf", "value", "petgraph"] }
default = ansi, conf, petgraph, value

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

ansi default = ansi_term, tint
conf default = config, directories
value default = serde-value

Affects ptree::value

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.

petgraph default

Affects ptree::graph

ansi_term ansi
tint ansi
serde-value value
config conf
directories conf