clap-cargo
Re-usable CLI flags for `cargo` plugins
0.19.0
13M downloads/mo
#2697 most downloaded on crates.io
crate-ci/clap-cargo
What this package is like to depend on
Last release 5 days ago
18 Aug 2026
Release timing varies
gaps range from 2 weeks to 10 months
Nearly every release is documented
notes for 30 of 32 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
32 releases · first in 2019
6 releases in the last 12 months
see the full history below
Release timeline
32 releases · Apr 2019 to Aug 2026Releases
latest 32-
0.19.018 Aug 2026Release notes
Open source →Breaking Changes
- If you already have a
-mshort flag, this will break
Features
-mshort flag for--manifest-pathto match cargo 1.97.0
- If you already have a
-
0.18.322 Oct 2025 -
0.18.220 Oct 2025Release notes
Open source →Fixes
- Add
testing_colorsfeature for forcing colors to be the same on all platforms for test purposes
- Add
-
0.18.116 Oct 2025 -
0.18.001 Oct 2025 -
0.17.108 Sep 2025 -
0.17.027 Aug 2025 -
0.16.012 Jul 2025Release notes
Open source →Breaking Changes
- Upgraded
cargo_metadatato 0.21
Compatibility
- Bump MSRV to 1.86
Fixes
- Don't force long help on for
--help
- Upgraded
-
0.15.214 Jan 2025 -
0.15.103 Jan 2025 -
0.15.002 Jan 2025 -
0.14.125 Jul 2024 -
0.14.006 Feb 2024Release notes
Open source →Compatibility
- Packages selected by default may change
- MSRV bumped to 1.72
Fixes
- Use cargo's definition of
default-memberswhen partitioning packages
-
0.13.002 Oct 2023 -
0.12.011 Sep 2023Release notes
Open source →Breaking Changes
- Move clap support behind
clapfeature flag
Compatibility
- Update MSRV to 1.70.0
Features
- Expose cargo's nightly styling
- Move clap support behind
-
0.11.001 Aug 2023Release notes
Open source →Breaking Changes
- Upgraded
cargo_metadata
Compatibility
- Raised MSRV to 1.66.0
- Upgraded
-
0.10.028 Sep 2022Release notes
Open source →Breaking CHanges
- Upgraded to clap v4
Compatibility
- Raised MSRV to 1.60.0
-
0.9.111 Jul 2022 -
0.9.001 Jul 2022 -
0.8.031 Dec 2021 -
0.7.015 Nov 2021Release notes
Open source →Breaking Changes
- If you already have a
-pshort flag, this will break
Fixes
- Add
-pshort flag - Use
SPECas--package/--excludevalue name
- If you already have a
-
0.6.112 Aug 2021 -
0.6.012 Aug 2021 -
0.5.031 Jul 2021 -
0.4.131 Jul 2021Release notes
Open source →Fixes
- With
Workspace::package,Workspace::exclude, andFeatures::featurewe were accidentally accepting multiple values (--feature foo bar) rather than multiple occurrences (--feature foo --feature bar) or delimited values (--feature "foo bar").
- With
-
0.4.002 Feb 2021 -
0.3.111 May 2020Release notes
Open source →Fixes
- Workaround structopt bug causing documentation to override help strings
-
0.3.002 Dec 2019 -
0.2.012 Sep 2019Release notes
Open source →Features
--workspacehas been added with--allacting as an alias.
Breaking Changes
- structopt 0.3 is now required
- cargo_metadata 0.8 is now required
- Structs are now non-exhaustive
-
0.1.423 May 2019Release notes
Open source →Bug Fixes
- Argument names were missing (c444c5cc)
<!-- next-url --> [Unreleased]: https://github.com/crate-ci/clap-cargo/compare/v0.19.0...HEAD [0.19.0]: https://github.com/crate-ci/clap-cargo/compare/v0.18.3...v0.19.0 [0.18.3]: https://github.com/crate-ci/clap-cargo/compare/v0.18.2...v0.18.3 [0.18.2]: https://github.com/crate-ci/clap-cargo/compare/v0.18.1...v0.18.2 [0.18.1]: https://github.com/crate-ci/clap-cargo/compare/v0.18.0...v0.18.1 [0.18.0]: https://github.com/crate-ci/clap-cargo/compare/v0.17.1...v0.18.0 [0.17.1]: https://github.com/crate-ci/clap-cargo/compare/v0.17.0...v0.17.1 [0.17.0]: https://github.com/crate-ci/clap-cargo/compare/v0.16.0...v0.17.0 [0.16.0]: https://github.com/crate-ci/clap-cargo/compare/v0.15.2...v0.16.0 [0.15.2]: https://github.com/crate-ci/clap-cargo/compare/v0.15.1...v0.15.2 [0.15.1]: https://github.com/crate-ci/clap-cargo/compare/v0.15.0...v0.15.1 [0.15.0]: https://github.com/crate-ci/clap-cargo/compare/v0.14.1...v0.15.0 [0.14.1]: https://github.com/crate-ci/clap-cargo/compare/v0.14.0...v0.14.1 [0.14.0]: https://github.com/crate-ci/clap-cargo/compare/v0.13.0...v0.14.0 [0.13.0]: https://github.com/crate-ci/clap-cargo/compare/v0.12.0...v0.13.0 [0.12.0]: https://github.com/crate-ci/clap-cargo/compare/v0.11.0...v0.12.0 [0.11.0]: https://github.com/crate-ci/clap-cargo/compare/v0.10.0...v0.11.0 [0.10.0]: https://github.com/crate-ci/clap-cargo/compare/v0.9.1...v0.10.0 [0.9.1]: https://github.com/crate-ci/clap-cargo/compare/v0.9.0...v0.9.1 [0.9.0]: https://github.com/crate-ci/clap-cargo/compare/v0.8.0...v0.9.0 [0.8.0]: https://github.com/crate-ci/clap-cargo/compare/v0.7.0...v0.8.0 [0.7.0]: https://github.com/crate-ci/clap-cargo/compare/v0.6.1...v0.7.0 [0.6.1]: https://github.com/crate-ci/clap-cargo/compare/v0.6.0...v0.6.1 [0.6.0]: https://github.com/crate-ci/clap-cargo/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/crate-ci/clap-cargo/compare/v0.4.1...v0.5.0 [0.4.1]: https://github.com/crate-ci/clap-cargo/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/crate-ci/clap-cargo/compare/v0.3.1...v0.4.0 [0.3.1]: https://github.com/crate-ci/clap-cargo/compare/v0.3.0...v0.3.1
-
0.1.209 Apr 2019Nothing published for this version
-
0.1.108 Apr 2019Nothing published for this version