mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 15:42:31 +00:00
18 lines
413 B
Plaintext
18 lines
413 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|