Cargo Features
[dependencies]
badges = { version = "0.3.2", default-features = false, features = ["cli", "font-shape"] }
- default = font-shape
-
The
font-shape
feature is set by default wheneverbadges
is added without
somewhere in the dependency tree.default-features = false - cli = clap
-
Required by the binary
- font-shape default = once_cell, rustybuzz
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.
- once_cell font-shape
-
Enables once_cell
dependencies for font measurement
- rustybuzz font-shape
-
Enables rustybuzz ^0.6
- clap cli?
-
Enables clap
dependencies for cli