Cargo Features

[dependencies]
forne = { version = "0.1.5", default-features = false, features = ["cli"] }
default = cli

Necessary because we can't have binary-only features

cli default = clap, crossterm, termcolor, whoami

Enable dependencies and features for the CLI only. This unfortunately has to pollute the library, because Cargo does not support separate binary dependencies.

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.

termcolor cli

Enables termcolor

CLI-only dependencies

clap cli
whoami cli
crossterm cli

Enables crossterm ^0.26