Download prebuilt binaries of some crate.io crates.
See supported targets and a list of prebuilt crates here.
(Some targets may not be prebuilt for some crates)
Request a crate to be added here.
To download a crate:
cargo prebuilt CRATE_NAME
To download multiple crates:
cargo prebuilt CRATE_1,CRATE_2,CRATE_3,...
To download a version of a crate:
cargo prebuilt CRATE_NAME@VERSION
To download multiple crates with versions:
cargo prebuilt CRATE_1@V1,CRATE_2,CRATE_3@V3,...
Crates will always be installed into the $CARGOHOME/bin directory, unless you do then it will be installed to $CARGOHOME:
CARGO_HOME=DIR cargo prebuilt --no-bin CRATES
To install crates that are different from the host target do:
cargo prebuilt --target=TARGET CRATES
For CI systems (This disables all reports):
cargo prebuilt --ci CRATES
To disallow the creation of missing dirs (except for reports):
cargo prebuilt --no-create CRATES
To select reports:
cargo prebuilt --reports=CSV CRATES
Report types: - license-out: Print license to stdout. - license-dl: Download license and put it under the prebuilt folder in the installation dir. (Default on) - deps-out: Print deps tree to stdout. - deps-dl: Download deps tree and put it under the prebuilt folder in the installation dir. - audit-out: Print audit to stdout. - audit-dl: Download audit and put it under the prebuilt folder in the installation dir.
Get version:
cargo prebuilt --version
Need help? Try:
cargo prebuilt --help
You can download prebuilt binaries of cargo-prebuilt here.