Cargo Features

[dependencies]
cbor-edn = { version = "0.0.4", default-features = false, features = ["cli"] }
default = cli

Not sure what best practice is here; this at least enables cargo install cbor-edn, and allows libraries to deselect the feature (whatever no-default-features will mean if the library ever gains features).

cli default = clap, clio, eyre

Required by the binary

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

Only for CLI tool

clio cli
eyre cli