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
.
We're very happy to announce this 1.0 release! 🎉
[Reddit] [Bluesky] [Twitter] [Masto]
In this release:
- Support install directly from git repository using
--git
(#3 #1162) - Add new option
--no-track
to not update manifests when installing (#1111) - Add fallback targets to windows (#642 #650)
- We attempt to detect if some targets other than the native/host one are runnable on your system and make those eligible for being downloaded if matching builds are available (and builds for the host target are not).
- The fallback logic is a bit convoluted to explain in one sentence, but essentially: x86 builds on x64 hosts, ARM32 builds on (some) ARM64 hosts, x86/x64 builds on (some) ARM64 hosts.
- Show license and source in long help (#1149)
- A reminder that Binstall and the binstalk library are GPL!
Other changes:
GhApiClient
: Fallback to unauthorized mode if auth token is invalid (#850 #1121)- Use GraphQL API if GitHub token is provided (#868 #1124)
- Add more variables for you to use in templates (#775 #1160):
target-family
(e.g.windows
,linux
)target-arch
(e.g.x86_64
,aarch64
)target-libc
(e.g.gnu
,musl
)target-vendor
(e.g.apple
,unknown
)