cargo-dl

Crates.iocargo-dl
lib.rscargo-dl
version0.1.5
sourcesrc
created_at2022-07-29 15:49:44.759311
updated_at2024-08-16 08:34:50.940194
descriptionCargo subcommand for downloading crate sources
homepage
repositoryhttps://github.com/Nullus157/cargo-dl
max_upload_size
id635070
size91,218
Nemo157 (Nemo157)

documentation

README

version-badge license-badge rust-version-badge

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

Rust Version Policy

This crate only supports the current stable version of Rust, patch releases may use new features at any time.

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 71

cargo fmt