1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:42:08 +02:00
tldr/pages/common/cargo-fetch.md
2023-10-29 09:54:53 +01:00

12 lines
320 B
Markdown

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