Cargo subcommand to provide various options useful for testing and continuous integration.
APACHE-2.0 License
Bot releases are visible (Hide)
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
.
Published by github-actions[bot] about 1 year ago
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)
Published by github-actions[bot] about 1 year ago
--no-private
flag with virtual workspace.Published by github-actions[bot] about 1 year ago
--no-private
flag on Windows.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.)
Published by github-actions[bot] about 1 year ago
--no-private
flag.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.
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] over 1 year ago
Update toml_edit
to 0.18.
Update lexopt
to 0.3
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
toml_edit
to 0.16.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+)