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 version 0.11.0.
Use squash merge. Upon merging, this will automatically build the CLI and create a GitHub release. You still need to manually publish the cargo crate.
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:
crate@version
syntax, similar to thecargo add
command. When that syntax is used, some overriding options like--version
and--manifest-path
that only make sense in single-crate context are disabled. (Feature: Support specifing versions viacrate_name@req
#210, Feature: Implement batch installation #216, Refactor: Extract new modbinstall
#217, Forbid --manifest-path to used with batch installation #220)entry
#209)--version 1.2.3
now means--version "=1.2.3"
. Previously it meant--version "^1.2.3"
. This was confusing and could result in ambiguity in some cases. The new behaviour aligns more closely withcargo install
. This is also the case in the newcrate@version
syntax. (Feature: Support specifing versions viacrate_name@req
#210){ archive-format }
is used, so e.g. writing.tar.gz
manually in the template URL is no longer required. (Custom extension for format #38, Find best download source out of alternatives (format extension) #236)Other changes:
mimalloc
. This is disabled by default. (Add mimalloc on feature flag #206)opt-level = "z"
. (Useopt-level = "z"
for release #218)make
-style process concurrency handling. (Feature: Implement batch installation #216)temp_dir
ininstall_path
#225)$CARGO_HOME/.crates.toml
is no longer modified if--install-path
is given, as that's considered a non-global install. We also take a lock on the file like Cargo does. (Fix updating metafiles: Use file lock to fix race condition #227, Fix updating metafiles: Skip on custom install path #228)$CARGO_HOME/.crates2.json
is no longer written to, as its data content is not adapted to Binstall's. (Remove support for .crates2.json #235)