Cargo Features

[dependencies]
ptree = { version = "0.5.2", 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 = anstyle, 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

anstyle ansi
tint ansi
serde-value value
config conf

Enables config ^0.14

directories conf