Crates.io | cargo-dl |
lib.rs | cargo-dl |
version | 0.1.5 |
source | src |
created_at | 2022-07-29 15:49:44.759311 |
updated_at | 2024-08-16 08:34:50.940194 |
description | Cargo subcommand for downloading crate sources |
homepage | |
repository | https://github.com/Nullus157/cargo-dl |
max_upload_size | |
id | 635070 |
size | 91,218 |
Cargo subcommand for downloading crate sources
Cargo subcommand for downloading crate sources
Usage: cargo dl [OPTIONS] <CRATE[@VERSION_REQ]>...
Arguments:
<CRATE[@VERSION_REQ]>...
The crate(s) to download.
Optionally including which version of the crate to download after `@`,
in the standard semver constraint format used in Cargo.toml. If
unspecified the newest non-prerelease, non-yanked version will be
fetched.
Options:
-x, --extract
Specify this flag to have the crate extracted automatically.
Note that unless changed via the --output flag, this will extract the
files to a new subdirectory bearing the name of the downloaded crate
archive.
-o, --output <OUTPUT>
Normally, the compressed crate is written to a file (or directory if
--extract is used) based on its name and version. This flag allows to
change that by providing an explicit file or directory path. (Only
when downloading a single crate)
--allow-yanked
Allow yanked versions to be chosen
--no-cache
Disable checking cargo cache for the crate file
--no-index-update
Disable updating the cargo index before downloading (if out of date
you may not download the latest matching version)
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
This crate only supports the current stable version of Rust, patch releases may use new features at any time.
Licensed under either of
LICENSE-APACHE
or http://www.apache.org/licenses/LICENSE-2.0)LICENSE-MIT
or http://opensource.org/licenses/MIT)at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.