Cargo Features

[dependencies]
mouce = { version = "0.2.43", default-features = false, features = ["cli", "x11"] }
default = x11

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

cli = clap

Required by the binary

x11 default

Features from optional dependencies

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

clap cli?

Enables clap ^3.1.8