cargo-msrv-clap-cargo

Crates.iocargo-msrv-clap-cargo
lib.rscargo-msrv-clap-cargo
version0.15.3-unofficial.1-cargo-msrv
created_at2025-01-29 08:40:31.186223+00
updated_at2025-01-29 08:40:31.186223+00
descriptionRe-usable CLI flags for `cargo` plugins
homepage
repositoryhttps://github.com/crate-ci/clap-cargo
max_upload_size
id1534494
size52,524
Martijn Gribnau (foresterre)

documentation

README

clap-cargo

Re-usable CLI flags for cargo plugins

codecov Documentation License Crates Status

Examples

// ...
#[derive(Debug, clap::Parser)]
struct Cli {
    #[command(flatten)]
    manifest: clap_cargo::Manifest,
    #[command(flatten)]
    workspace: clap_cargo::Workspace,
    #[command(flatten)]
    features: clap_cargo::Features,
}

Relevant crates

Other crates that might be useful for cargo plugins:

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 395

cargo fmt