1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 14:55:56 +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

335 B

cargo vendor

将项目的所有依赖项存储到指定目录中(默认为 vendor)。 更多信息:https://doc.rust-lang.org/cargo/commands/cargo-vendor.html.

  • 将依赖项存储到指定目录,并配置在当前项目中使用这些存储的源代码:

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