1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-02 01:55:22 +02:00
tldr/pages/common/cargo-vendor.md

9 lines
343 B
Markdown
Raw Normal View History

# 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`