Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a release PR for cargo-binstall version 1.2.0 (performing a minor bump).
Use squash merge.
Upon merging, this will automatically create the tag
v1.2.0
, build the CLI,create a GitHub release with the release notes below
, and CI will publish to crates.io on merge of this PR.
To trigger builds initially, close and then immediately re-open this PR once.
Edit release notes into the section below:
Release notes
Binstall is a tool to fetch and install Rust-based executables as binaries. It aims to be a drop-in replacement for
cargo install
in most cases. Install it today withcargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade withcargo binstall cargo-binstall
.In this release:
We now verify checksum integrity of the crate metadata downloaded from registries (Support checksum verification in registry #1183, feat: Verify cksum of crate tarball from cargo registry #1260)
Pre-built binaries below now support HTTP/3. When building from source, you can use the
http3
feature and the--cfg reqwest_unstable
rustflag to opt-in to HTTP/3 support as well. (Enable unstable featurereqwest/http3
in CI #1261)We've added out-of-the-box support for more variants of monorepos (Subcrate support for more crates #1244, Fix subcrate resolution for
wasm-bindgen-cli
#1245)We now support passing a workspace to
--manifest-path
(feat: Support passing workspace to--manifest-path
#1246)Previously we would load the root
Cargo.toml
and treat it as the manifest for the crate, which did not work as expected for workspaces.We now provide
x86_64h-apple-darwin
(Intel Haswell architecture tuning) pre-built binaries, for higher performance on macOS! Universal builds are also improved. (feature: Add fallbackx86_64h-apple-darwin
and fallback for it #1228, CI: Add release build for x86_64h-apple-darwin #1234, ci: Build MacOS universal exe from x86_64h-apple-darwin #1238)And of course we support installing binaries for the
x86_64h-apple-darwin
target. (detect-targets: Add fallback to x86_64-apple-darwin #1233)Finally, we have a new, minimal GitHub Action:
- uses: cargo-bins/cargo-binstall@main
will install the latestcargo-binstall
and do nothing else. (Add GitHub Action declaration for installingcargo-binstall
#1269, contributed by @smallstepman)Bugfixes:
CARGO_REGISTRIES_{registry_name}_INDEX
environment variables (Fix reading envCARGO_REGISTRIES_{registry_name}_INDEX
#1258)$CARGO_HOME/bin
was already in$PATH
(Don't show warning if $CARGO_HOME/bin is in $PATH #1239, contributed by @tyilo)Thank you!
If you've made it this far, thank you! If you care about package signing, or have opinions on it, especially but not exclusively in the Rust context, please visit #1 and tell us all about it!