Files
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

13 lines
291 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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