24 releases (14 breaking)

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

#6 in Cargo plugins

Download history 32484/week @ 2024-10-09 30804/week @ 2024-10-16 31045/week @ 2024-10-23 32148/week @ 2024-10-30 36136/week @ 2024-11-06 36592/week @ 2024-11-13 36956/week @ 2024-11-20 39409/week @ 2024-11-27 41847/week @ 2024-12-04 41619/week @ 2024-12-11 31708/week @ 2024-12-18 25345/week @ 2024-12-25 32943/week @ 2025-01-01 42529/week @ 2025-01-08 45456/week @ 2025-01-15 39254/week @ 2025-01-22

163,553 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.9MB
~35K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy