Cargo Features

[dependencies]
ptree = { version = "0.4.0", 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, atty, 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
atty ansi
tint ansi
serde-value value
config conf

Enables config ^0.11

directories conf

Enables directories ^4.0