mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 11:43:00 +00:00
14 lines
436 B
Plaintext
14 lines
436 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|