1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/common/cargo-fetch.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

12 lines
291 B
Markdown

# cargo fetch
> 从网络获取包的依赖项。
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-fetch.html>.
- 获取 `Cargo.lock` 中指定的依赖项 (对所有目标):
`cargo fetch`
- 为指定目标获取依赖项:
`cargo fetch --target {{目标三元组}}`