1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/cargo-fetch.md

13 lines
320 B
Markdown
Raw Normal View History

# cargo fetch
> Fetch dependencies of a package from the network.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-fetch.html>.
2023-10-29 09:54:53 +01:00
- Fetch dependencies specified in `Cargo.lock` (for all targets):
2023-10-29 09:54:53 +01:00
`cargo fetch`
2023-10-29 09:54:53 +01:00
- Fetch dependencies for the specified target:
2023-10-29 09:54:53 +01:00
`cargo fetch --target {{target_triple}}`