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,...
Need help? Try: cargo prebuilt --help
or see Config Info
cargo install cargo-prebuilt
or cargo install cargo-prebuilt --profile=quick-build
cargo binstall cargo-prebuilt --no-confirm
Reports are generated when a crate is built in the index.
They are stored under INSTALL_PATH/.prebuilt/reports/CRATE/VERSION.
Report types (--reports): - 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.
Your url should be formatted like github.com/cargo-prebuilt/index
. cargo-prebuilt requires https.
export PREBUILT_INDEX=gh-pub:URL
cargo prebuilt --index=gh-pub:URL CRATES
Under development