Cargo Features

[dependencies]
dip = { version = "0.2.1", default-features = false, features = ["desktop", "cli"] }
default = cli

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

desktop = dip_desktop
cli default = clap, dip_cli

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.

clap cli

Enables clap ^3.2

dip_cli cli
dip_desktop desktop?