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.1.0 (performing a minor bump).
Use squash merge.
Upon merging, this will automatically create the tag
v1.1.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
.Features
feat: Support
--verbose --version
/-vV
(Usecargo-auditable
to build the final release artifacts #627 feat: Support--verbose --version
/-vV
#1182)that provides more information:
feat: Read
--rate-limit
from envBINSTALL_RATE_LIMIT
as a fallback ("unexpected EOF during skip" error #1196 feat: Read--rate-limit
from envBINSTALL_RATE_LIMIT
as a fallback #1201)Support
--registry
and more options from.cargo/config.toml
(More config options from$CARGO_HOME/config.toml
#885 Support--registry
and more options from.cargo/config.toml
#1195)Now we can take advantage of new argument
--registry
andenv overrides:
CARGO_REGISTRIES_DEFAULT
if--registry
is not specifiedCARGO_REGISTRIES_{registry_name}_INDEX
for the registry index urlWe can also read from
.cargo/config.toml
for:http.cainfo
feat: Support
--index
(Support alternative registries #1168 feat: Impl support for alternative registries #1184)Optimization
Use
reflink_copy
to speedup binary installation if atomic rename failedspeedup git shallow cloning: Enable
gix/max-performance
(speedup git shallow cloning: Enablegix/max-performance
#1186)for targets:
which will use
zlib-ng
to speedup decompression and use assemblyversion for sha1 checksum calculation on supported CPU.
Also enable feature
zlib-ng
on windows andSpeedup prebuilt binary (Speedup prebuilt binary #1188)
This commit speeds it up by building all dependencies with
-O3
in devand release build, in release build we build everything with
-O3
.Bugfix
Fix
binstalk_downloader::GhApiClient
json deser error (fixbinstalk_downloader::GhApiClient
json deser error #1193)When installing
cargo-expand
v1.0.59, I got an error message:Fix GPL-3.0 license identifier (GPL-3.0 license identifier is deprecated #1189 Fix GPL-3.0 license identifier #1192)