1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 19:15:23 +02:00
tldr/pages/common/cargo-vendor.md
Lena f1673431e1
cargo-*: add page (#11349)
* cargo-verify-project: add page

* cargo-pkgid: add page

* cargo-tree: add page

* cargo-vendor: add page

* cargo-tree: fix typo

Co-authored-by: Darío Hereñú <magallania@gmail.com>

* cargo-verify-project: "correctness" => "the correctness"

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

---------

Co-authored-by: Darío Hereñú <magallania@gmail.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2023-11-01 06:54:54 +05:30

343 B

cargo vendor

Vendor all dependencies of a project into the specified directory (default: vendor). More information: https://doc.rust-lang.org/cargo/commands/cargo-vendor.html.

  • Vendor dependencies and configure cargo to use the vendored sources in the current project:

cargo vendor {{path/to/directory}} > .cargo/config.toml