1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-26 00:44:05 +02:00
tldr/pages.zh/common/cargo-vendor.md
Beriholic 33770df77d
cargo*: add Chinese translation (#12312)
* cargo-*: add Chinese translation

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-03-14 10:25:45 +05:30

8 lines
335 B
Markdown

# cargo vendor
> 将项目的所有依赖项存储到指定目录中(默认为 `vendor`)。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-vendor.html>.
- 将依赖项存储到指定目录,并配置在当前项目中使用这些存储的源代码:
`cargo vendor {{path/to/directory}} > .cargo/config.toml`