Skip to content

Releases: cargo-bins/cargo-binstall

v0.23.0

26 Apr 11:18
2103fde
Compare
Choose a tag to compare

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 new subcrate 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 in pkg-url if target is Windows. (#851 #933)
  • We now detect malformed pkg-url/pkg-fmt templates earlier. (#851 #933)

v0.22.0

22 Mar 13:50
1761096
Compare
Choose a tag to compare

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 installing sccache (#731 #936)
  • Retry http request on connection error (#791 #922)
  • Added alias universal2-apple-darwin to target universal-apple-darwin (#919)
  • Fixed fetcher::QuickInstallstats report failure (#918 #921)
  • Honor key install.root in $CARGO_HOME/config.toml (#859 #884)

v0.21.3

14 Mar 08:36
c04b15d
Compare
Choose a tag to compare

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.2

13 Mar 13:24
9e3223a
Compare
Choose a tag to compare

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

13 Mar 04:20
5f1d5ce
Compare
Choose a tag to compare

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 infinite loop bug in git credential loading (#897 #898)

v0.21.0

12 Mar 23:37
ba9fa17
Compare
Choose a tag to compare
v0.21.0 Pre-release
Pre-release

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 to cargo-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 variable BINSTALL_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 to cargo 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 like cargo-audit.

v0.20.1

12 Feb 04:52
1b2fb08
Compare
Choose a tag to compare

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 variable CARGO_BINSTALL_LOG_LEVEL for specifying log-level if cmdline option --log-level is not present (#790) Removed in next version as BINSTALL_LOG_LEVEL already existed (#796)

Other changes:

  • Detect incorrect package.metadata.binstall configuration where pkg-fmt is not specified but pkg-urlalso does not contain format, archive-format or archive-suffix which is required for automatically deducing pkg-fmt (#757)

v0.20.0

10 Feb 14:01
b408a1a
Compare
Choose a tag to compare
v0.20.0 Pre-release
Pre-release

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 where pkg-fmt is not specified but pkg-urlalso does not contain format, archive-format or archive-suffix which is required for automatically deducing pkg-fmt (#757)

v0.19.3

17 Jan 11:53
46a0356
Compare
Choose a tag to compare

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:

  • Fix self-update on windows (#702, #712)
  • Fix corruption errors when extracting zips (#714)

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

16 Jan 04:45
c2b1c24
Compare
Choose a tag to compare

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 returns x86_64-alpine-linux-musl (#704, #705)

Other changes:

  • Optimizations in automatic target detection (#705)