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 whenever badges is added without default-features = false somewhere in the dependency tree.

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