Cargo Features

[dependencies]
dagga = { version = "0.2.1", default-features = false, features = ["dot"] }
default = dot

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

dot default = dot2

Affects dagga::dot

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

dot2 dot