Skip to main content

Module update

Module update 

Source

Enums§

InstallKind

Constants§

DEFAULT_RELEASE_API

Functions§

asset_names
Archive and checksum asset names for a tag and triple. Must match the archive: pattern in .github/workflows/release.yml, which is bbcloud-$tag-$target; cargo-binstall’s default templates key off the crate name, which is why the prefix is bbcloud and not the binary name.
classify_install
Decides who owns the binary at exe from its path alone. Overwriting a package-manager-owned file would leave brew or cargo believing it manages a file it no longer controls, so those cases delegate instead.
current_triple
The target triple of the running binary, or None on a platform this project does not publish binaries for.
is_newer
True only when both versions parse and latest is strictly greater. An unparseable remote tag is never an upgrade, so a malformed API response cannot trigger a download.
parse_version
Parses 1.2.3 or v1.2.3. Returns None for anything else, including four-component versions and pre-release suffixes.
release_api_base
run