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 0.21.0 (performing a minor bump).
Use squash merge.
Upon merging, this will automatically create the tag
v0.21.0
, build the CLI, and create a GitHub release with the release notes below.You will still need to manually publish the cargo crate:
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:
binstalk-downloader
#794 Check url existence usingGET
instead ofHEAD
#835 Only useGET
inremote::Client::remote_gettable
#847 Speedup resolution process #776 ImplGhApiClient
and use it incargo-binstall
to speedup resolution process #832 Extract GitHub token from file if--github-token
or env variableGITHUB_TOKEN
is not present #849 Read from envGH_TOKEN
for github_token as a fallback #883)--locked
, passed tocargo-install
when falling back (not used when installing from binary) (Use--locked
when fallbacking tocargo install
#746 Add new option--locked
that is passed through tocargo-install
#830)--root-certificates
and environment variableBINSTALL_HTTPS_ROOT_CERTS
. (corporate proxy got in the way and cannot specify a certificate bundle using en vars like such asCARGO_HTTP_CAINFO
,SSL_CERT_FILE
&SSL_CERT_PATH
#759 Support adding root cert via envCARGO_HTTP_CAINFO
,SSL_CERT_{FILE, PATH}
#774 Add opt--root-ceritificates
& envBINSTALL_HTTPS_ROOT_CERTS
#820)Bugfixes:
binstall
installs x86_64 binaries on macOS aarch64 without Rosetta 2 enabled #857 Fix x86_64 fallback for aarch64 MacOS #875).exe
suffix on Windows (cargo-binstall
does not add an.exe
suffix to the binary names in.crates.toml
on Windows #801 Fix bin names in.crates.toml
on win #802)cargo-binstall
spuriously fails in CI #777 Fix use ofStreamReadable
: Ensure no emptyBytes
#799)Other changes:
--roots
to--root
for cargo-install compatibility (with an alias to maintain backward-compatibility with ourselves) (Rename --roots to --root (with alias for back compat) #861), and pass it tocargo install
when falling back (Fix: Pass value of--roots
tocargo-install
as--root
#860).--rate-limit
to 10ms (Inc default interval in--rate-limit
to 10ms #804)NOVERSION_FILENAMES
"{ name }{ archive-suffix }" #795)icf=safe
on Linux and Windows, and cross-lang fat-lto on Linux.cargo-auditable
), making them auditable by tools likecargo-audit
.