Crates.io | cargo-collect |
lib.rs | cargo-collect |
version | 0.1.2 |
source | src |
created_at | 2023-03-26 15:33:08.692884 |
updated_at | 2024-10-17 19:56:03.479865 |
description | Cargo tool for download crate file and its dependencies recursively. |
homepage | https://github.com/TalRoni/cargo-collect |
repository | https://github.com/TalRoni/cargo-collect |
max_upload_size | |
id | 821321 |
size | 93,928 |
A Cargo subcommand for recursive download of crates and thier dependencies from crates.io.
cargo-collect
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-collect
can be installed with cargo install
$ cargo install cargo-collect
This shall put the cargo-collect executable in your Cargo binary directory (e.g. ~/.cargo/bin), which hopefully is in your $PATH.
To download the newest version of foo crate and its dependencies, do this:
$ cargo collect foo --output /path/to/optput/folder
For more detailed usage instructions, run cargo collect --help
.
cargo-collect is licensed under the terms of the GNU GENERAL PUBLIC LICENSE Version 3