Skip to content

Nullus157/cargo-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages