Releases: cargo-bins/cargo-binstall
v0.23.0
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 with cargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade with cargo binstall cargo-binstall
.
In this release:
- Support (some) crates which specify a subdirectory in their
repository
path (with GitHub and GitLab hosts). This also makes available a newsubcrate
variable in the pkg-url template. (#838 #991) - Template engine changes from tiny-template to leon, a new crate from this very project! There's no outward changes here, except that template parsing and rendering is a lot faster.
Other changes:
- Pretty print
$CARGO_HOME/.crates.toml
manifest to match cargo behaviour. If you check that file in or like to manually review it, that will help. (#970 #984) - Support GitHub fine-grained personal access tokens. (#957)
- Only check for extension
.exe
inpkg-url
if target is Windows. (#851 #933) - We now detect malformed pkg-url/pkg-fmt templates earlier. (#851 #933)
v0.22.0
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 with cargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade with cargo binstall cargo-binstall
.
In this release:
- Enabled
--no-symlinks
by default which also fixed installingsccache
(#731 #936) - Retry http request on connection error (#791 #922)
- Added alias
universal2-apple-darwin
to targetuniversal-apple-darwin
(#919) - Fixed
fetcher::QuickInstall
stats report failure (#918 #921) - Honor key
install.root
in$CARGO_HOME/config.toml
(#859 #884)
v0.21.3
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 with cargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade with cargo binstall cargo-binstall
.
In this release:
- Fixed spurious error when accessing crates.io (taiki-e/install-action#89 #908)
v0.21.2
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 with cargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade with cargo binstall cargo-binstall
.
In this release:
- Fixed a bug in tar extraction (#901)
v0.21.1
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 with cargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade with cargo binstall cargo-binstall
.
In this release:
v0.21.0
Yanked, do not use
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 with cargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade with cargo binstall cargo-binstall
.
In this release:
- Massively reduce the amount of requests binstall does in most cases, which significantly improves performance (#779 #791 #794 #835 #847 #776 #832 #849 #883)
- New option:
--locked
, passed tocargo-install
when falling back (not used when installing from binary) (#746 #830) - Support for TLS-intercepting HTTP proxies with a CLI option
--root-certificates
and environment variableBINSTALL_HTTPS_ROOT_CERTS
. (#759 #774 #820)
Bugfixes:
- x86_64 fallback for aarch64 MacOS (#857 #875)
- Missing
.exe
suffix on Windows (#801 #802) - Spurious "unexpected Eof" error (#777 #799)
Other changes:
- QuickInstall's release naming scheme has changed (#867)
- Rename
--roots
to--root
for cargo-install compatibility (with an alias to maintain backward-compatibility with ourselves) (#861), and pass it tocargo install
when falling back (#860). - Increase default interval in
--rate-limit
to 10ms (#804) - We no longer auto-discover artifacts which do not include the target in their filename, as we have no way to figure out if they're the right one to download. (#795)
- Optimize release build:
icf=safe
on Linux and Windows, and cross-lang fat-lto on Linux. - Our binaries (below) now embed their dependency list (via
cargo-auditable
), making them auditable by tools likecargo-audit
.
v0.20.1
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 with cargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade with cargo binstall cargo-binstall
.
In this release:
- Improve error messages (#781)
- Fallback to copy if symlink failed on windows (#728 #763)
- Fix "Too many "Too Many Requests" log" (#747 #761)
Add environment variableRemoved in next version asCARGO_BINSTALL_LOG_LEVEL
for specifying log-level if cmdline option--log-level
is not present (#790)BINSTALL_LOG_LEVEL
already existed (#796)
Other changes:
- Detect incorrect
package.metadata.binstall
configuration wherepkg-fmt
is not specified butpkg-url
also does not containformat
,archive-format
orarchive-suffix
which is required for automatically deducingpkg-fmt
(#757)
v0.20.0
THIS RELEASE IS BROKEN, DO NOT USE
See this issue: #789
In this release:
- Improve error messages (#781)
- Fallback to copy if symlink failed on windows (#728 #763)
- Fix "Too many "Too Many Requests" log" (#747 #761)
Other changes:
- Detect incorrect
package.metadata.binstall
configuration wherepkg-fmt
is not specified butpkg-url
also does not containformat
,archive-format
orarchive-suffix
which is required for automatically deducingpkg-fmt
(#757)
v0.19.3
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 with cargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade with cargo binstall cargo-binstall
.
In this release:
These two bugs together do mean that on Windows you'll need to install manually from one of the binaries below or compile from source to upgrade! Sorry about that.
v0.19.2
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 with cargo install cargo-binstall
, from the binaries below, or if you already have it, upgrade with cargo binstall cargo-binstall
.
In this release:
- Fixed automatic target detection on Alpine where
rustc
returnsx86_64-alpine-linux-musl
(#704, #705)
Other changes:
- Optimizations in automatic target detection (#705)