cargo-hack

Cargo subcommand to provide various options useful for testing and continuous integration.

APACHE-2.0 License

Downloads
903.1K
Stars
620
Committers
6

Bot releases are visible (Hide)

cargo-hack - 0.6.11

Published by github-actions[bot] about 1 year ago

  • Fix handling of weak dependency features when namespaced features is not used together.

  • Improve performance by passing --no-deps to cargo metadata except when using --include-deps-features.

cargo-hack - 0.6.10

Published by github-actions[bot] about 1 year ago

  • Fix compatibility with old Cargo. This fixes a regression introduced in 0.6.9.
cargo-hack - 0.6.9

Published by github-actions[bot] about 1 year ago

  • Improve performance and reduce disc usage by passing --filter-platform to cargo metadata. (#223)
cargo-hack - 0.6.8

Published by github-actions[bot] about 1 year ago

  • Disable log grouping on GitHub Actions by default if an option is passed in which stdout is assumed to be used, such as --message-format. (#221)
cargo-hack - 0.6.7

Published by github-actions[bot] about 1 year ago

  • Group rustup output on GitHub Actions. (#219)

  • Improve error message when no rust-version field is specified. (#217)

cargo-hack - 0.6.6

Published by github-actions[bot] about 1 year ago

  • Add --rust-version flag to perform commands on the Rust version of package.rust-version field in Cargo.toml. (#202, thanks @epage)

  • Support mixed MSRV in --version-range option. (#213, thanks @epage)

    Previously, crates in a workspace must have the same MSRVs, but that restriction is now removed.

  • Support ..= as inclusive range syntax for --version-range option to match Rust's inclusive range syntax. (#198)

    The old inclusive range syntax is now deprecated, but continues to be supported.

  • Group logs on GitHub Actions. (#206, #214)

    This can be opt-out by using --log-group=none, and can be force-enabled by --log-group=github-actions.

  • Work around a rustup bug (rust-lang/rustup#3036) on Windows. (#209)

cargo-hack - 0.6.5

Published by github-actions[bot] about 1 year ago

  • Add --at-least-one-of option. (#193, thanks @kornelski)
cargo-hack - 0.6.4

Published by github-actions[bot] about 1 year ago

  • Fix bug in --no-private flag with virtual workspace.
cargo-hack - 0.6.3

Published by github-actions[bot] about 1 year ago

  • Fix bug in --no-private flag on Windows.
cargo-hack - 0.6.2

Published by github-actions[bot] about 1 year ago

  • Work around spurious "failed to select a version" error when --version-range option is used.

    (This does not work around the underlying cargo bug.)

cargo-hack - 0.6.1

Published by github-actions[bot] about 1 year ago

  • Fix bug in --no-private flag.
cargo-hack - 0.6.0

Published by github-actions[bot] about 1 year ago

  • Add --no-private flag to exclude publish = false crates.

    This flag is more powerful than --ignore-private flag, because this also prevents private crates from affecting lockfile and metadata.

  • Restore Cargo.lock after run to match behavior with cargo-minimal-versions and cargo-no-dev-deps, when --no-dev-deps, --remove-dev-deps, or --no-private is used.

cargo-hack - 0.5.29

Published by github-actions[bot] about 1 year ago

  • Documentation improvements.
cargo-hack - 0.5.28

Published by github-actions[bot] over 1 year ago

  • Add unstable --print-command-list flag. (#175)

  • Update toml_edit to 0.19.

cargo-hack - 0.5.27

Published by github-actions[bot] over 1 year ago

  • Update toml_edit to 0.18.

  • Update lexopt to 0.3

cargo-hack - 0.5.26

Published by github-actions[bot] almost 2 years ago

  • Distribute prebuilt macOS universal binary.
cargo-hack - 0.5.25

Published by github-actions[bot] almost 2 years ago

  • Update toml_edit to 0.16.
cargo-hack - 0.5.24

Published by github-actions[bot] almost 2 years ago

  • Pin libc to 0.2.137 to work around build failure on FreeBSD. (#174)

  • Add unstable --no-manifest-path flag.

  • Improve behavior regarding removal of dev-dependencies.

  • Diagnostics improvements.

cargo-hack - 0.5.23

Published by github-actions[bot] almost 2 years ago

  • Replace atty with is-terminal. (#171)
cargo-hack - 0.5.22

Published by github-actions[bot] almost 2 years ago

  • Update toml_edit to 0.15.

    This increases the rustc version required to build cargo-hack. (rustc 1.56+ -> 1.60+)
    The cargo/rustc version required to run cargo-hack remains unchanged. (cargo 1.26+)

Package Rankings
Top 17.55% on Crates.io
Badges
Extracted from project README
crates.io license github actions