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)