24 releases (14 breaking)

new 0.15.2 Jan 14, 2025
0.14.1 Jul 25, 2024
0.14.0 Feb 6, 2024
0.13.0 Oct 2, 2023
0.1.4 May 23, 2019

#11 in Cargo plugins

Download history 33498/week @ 2024-09-24 27648/week @ 2024-10-01 30977/week @ 2024-10-08 32148/week @ 2024-10-15 29903/week @ 2024-10-22 32314/week @ 2024-10-29 34048/week @ 2024-11-05 38146/week @ 2024-11-12 37189/week @ 2024-11-19 37563/week @ 2024-11-26 42598/week @ 2024-12-03 41370/week @ 2024-12-10 35529/week @ 2024-12-17 25513/week @ 2024-12-24 30447/week @ 2024-12-31 32991/week @ 2025-01-07

132,027 downloads per month
Used in 121 crates (77 directly)

MIT/Apache

34KB
566 lines

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.

Dependencies

~1.1–2MB
~37K SLoC