Cargo Features

[dependencies]
matchy = { version = "1.2.2", default-features = false, features = ["cli", "capi", "dhat-heap"] }
default = cli

Default includes CLI for cargo install compatibility

cli default = clap, csv, ctrlc, notify

CLI feature includes all binary dependencies

Required by the binary

capi

cargo-c requires a capi feature to identify C-compatible libraries

dhat-heap

Enable dhat heap profiling in benchmarks (dhat is always available as dev-dep)

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

CLI-only dependencies (optional)

csv cli
notify cli

Enables notify ^6.1

ctrlc cli