Skip to main content

stuffr_cli/
lib.rs

1//! Library surface behind the `stuffr` binary.
2//!
3//! Two reasons it exists. [`cli::Cli`] is here so `tests/cli.rs` can
4//! introspect it through `clap::CommandFactory`: the examples page's test
5//! asserts every flag and subcommand clap knows about is mentioned on the
6//! page, and doing that against the real `Cli` (rather than a hand-copied
7//! list of flag names) keeps the assertion honest as the surface grows.
8//! [`compat`] is here so that `main`, the integration tests and the `compat`
9//! fuzz target all drive the same compatibility families (`bzip2` and
10//! friends) and `install-links`.
11
12pub mod cli;
13pub mod compat;
14pub mod size;