Expand description
Functionality related to installing prebuilt binaries and/or running cargo install.
Enums§
- An enum representing supported architectures
- The
InstallMode
determines which mode of initialization we are running, and what install steps we perform. - An enum representing supported operating systems
- Possible outcomes of attempting to find/install a tool
- Represents the set of CLI tools wasm-pack uses
Functions§
- Use
cargo install
to install the tool locally into the given crate. - Check if the tool dependency is locally satisfied.
- Downloads a precompiled copy of the tool, if available.
- Install a cargo CLI tool
- Fetches the version of a CLI tool
- Handles possible installs status and returns the download or a error message
- Get the download URL for some tool at some version, architecture and operating system