PackageTrack
Sign in Get early access

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 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 32
  1. 0.19.0 18 Aug 2026
    Release notes

    chore: Release clap-cargo version 0.19.0

    Open source →
    Release notes

    Breaking Changes

    • If you already have a -m short flag, this will break

    Features

    • -m short flag for --manifest-path to match cargo 1.97.0
    Open source →
  2. 0.18.3 22 Oct 2025
    Release notes

    chore: Release clap-cargo version 0.18.3

    Open source →
    Release notes

    Features

    • Expose styles::CONTEXT from cargo info
    Open source →
  3. 0.18.2 20 Oct 2025
    Release notes

    chore: Release clap-cargo version 0.18.2

    Open source →
    Release notes

    Fixes

    • Add testing_colors feature for forcing colors to be the same on all platforms for test purposes
    Open source →
  4. 0.18.1 16 Oct 2025
    Release notes

    chore: Release clap-cargo version 0.18.1

    Open source →
    Release notes

    Fixes

    • Update to Cargo 1.91 colors
    Open source →
  5. 0.18.0 01 Oct 2025
    Release notes

    chore: Release clap-cargo version 0.18.0

    Open source →
    Release notes

    Breaking Changes

    • Upgraded cargo_metadata to 0.23
    Open source →
  6. 0.17.1 08 Sep 2025
    Release notes

    chore: Release clap-cargo version 0.17.1

    Open source →
    Release notes

    Documentation

    • Show how to use terminal styling
    Open source →
  7. 0.17.0 27 Aug 2025
    Release notes

    chore: Release clap-cargo version 0.17.0

    Open source →
    Release notes

    Breaking Changes

    • Upgraded cargo_metadata to 0.22
    Open source →
  8. 0.16.0 12 Jul 2025
    Release notes

    chore: Release clap-cargo version 0.16.0

    Open source →
    Release notes

    Breaking Changes

    • Upgraded cargo_metadata to 0.21

    Compatibility

    • Bump MSRV to 1.86

    Fixes

    • Don't force long help on for --help
    Open source →
  9. 0.15.2 14 Jan 2025
    Release notes

    chore: Release clap-cargo version 0.15.2

    Open source →
  10. 0.15.1 03 Jan 2025
    Release notes

    chore: Release clap-cargo version 0.15.1

    Open source →
    Release notes

    Fix

    • Reduce Cargo.lock content
    Open source →
  11. 0.15.0 02 Jan 2025
    Release notes

    Breaking Changes

    • Upgraded cargo_metadata to 0.19
    Open source →
  12. 0.14.1 25 Jul 2024
    Release notes

    Compatibility

    • MSRV bumped to 1.74
    Open source →
  13. 0.14.0 06 Feb 2024
    Release notes

    Compatibility

    • Packages selected by default may change
    • MSRV bumped to 1.72

    Fixes

    • Use cargo's definition of default-members when partitioning packages
    Open source →
  14. 0.13.0 02 Oct 2023
    Release notes

    Breaking Changes

    • Upgraded cargo_metadata to 0.18
    Open source →
  15. 0.12.0 11 Sep 2023
    Release notes

    Breaking Changes

    • Move clap support behind clap feature flag

    Compatibility

    • Update MSRV to 1.70.0

    Features

    • Expose cargo's nightly styling
    Open source →
  16. 0.11.0 01 Aug 2023
    Release notes

    Breaking Changes

    • Upgraded cargo_metadata

    Compatibility

    • Raised MSRV to 1.66.0
    Open source →
  17. 0.10.0 28 Sep 2022
    Release notes

    Breaking CHanges

    • Upgraded to clap v4

    Compatibility

    • Raised MSRV to 1.60.0
    Open source →
  18. 0.9.1 11 Jul 2022
    Release notes

    Features

    • -F short flag for --features to match cargo 1.62.0
    Open source →
  19. 0.9.0 01 Jul 2022
    Release notes

    Breaking Changes

    • Upgrade cargo_metadata
    Open source →
  20. 0.8.0 31 Dec 2021
    Release notes

    Breaking Changes

    • Upgraded to clap3
    Open source →
  21. 0.7.0 15 Nov 2021
    Release notes

    Breaking Changes

    • If you already have a -p short flag, this will break

    Fixes

    • Add -p short flag
    • Use SPEC as --package / --exclude value name
    Open source →
  22. 0.6.1 12 Aug 2021
    Release notes

    Fixes

    • --exclude was broken by the previous change
    Open source →
  23. 0.6.0 12 Aug 2021
    Release notes

    Fixes

    • --package is now an opt-in to match cargos behavior
    Open source →
  24. 0.5.0 31 Jul 2021
    Release notes

    Breaking Changes

    • Updated to cargo_metadata 0.14
    Open source →
  25. 0.4.1 31 Jul 2021
    Release notes

    Fixes

    • With Workspace::package, Workspace::exclude, and Features::feature we were accidentally accepting multiple values (--feature foo bar) rather than multiple occurrences (--feature foo --feature bar) or delimited values (--feature "foo bar").
    Open source →
  26. 0.4.0 02 Feb 2021
    Release notes

    Breaking Changes

    • cargo_metadata 0.12 is now required
    Open source →
  27. 0.3.1 11 May 2020
    Release notes

    Fixes

    • Workaround structopt bug causing documentation to override help strings
    Open source →
  28. 0.3.0 02 Dec 2019
    Release notes

    Breaking Changes

    • cargo_metadata 0.9 is now required
    Open source →
  29. 0.2.0 12 Sep 2019
    Release notes

    Features

    • --workspace has been added with --all acting as an alias.

    Breaking Changes

    • structopt 0.3 is now required
    • cargo_metadata 0.8 is now required
    • Structs are now non-exhaustive
    Open source →
  30. 0.1.4 23 May 2019
    Release notes

    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

    Open source →
  31. 0.1.2 09 Apr 2019

    Nothing published for this version

  32. 0.1.1 08 Apr 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive