| Crates.io | cargo-download |
| lib.rs | cargo-download |
| version | 0.1.2 |
| created_at | 2017-11-17 18:06:09.103268+00 |
| updated_at | 2019-02-13 20:09:37.530045+00 |
| description | Cargo subcommand for downloading crate sources |
| homepage | https://github.com/Xion/cargo-download |
| repository | https://github.com/Xion/cargo-download.git |
| max_upload_size | |
| id | 39719 |
| size | 32,412 |
A cargo subcommand for downloading crates from crates.io
cargo-download can be used to download a gzipped archive of given crate,
in the exact form that it was uploaded to crates.io.
This can be useful for a variety of things, such as:
cargo-download can be installed with cargo install:
$ cargo install cargo-download
This shall put the cargo-download executable in your Cargo binary directory
(e.g. ~/.cargo/bin), which hopefully is in your $PATH.
To download the newest version of foo crate, do this:
$ cargo download foo >foo.gz
You can also use the standard Cargo.toml notation to specify a particular version:
$ cargo download foo==0.9 >foo-0.9.gz
For more detailed usage instructions, run cargo download --help.
cargo-download is licensed under the terms of the MIT license.