2023-10-08 10:34:41 +01:00
|
|
|
# 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 08:54:53 +00:00
|
|
|
- Fetch dependencies specified in `Cargo.lock` (for all targets):
|
2023-10-08 10:34:41 +01:00
|
|
|
|
2023-10-29 08:54:53 +00:00
|
|
|
`cargo fetch`
|
2023-10-08 10:34:41 +01:00
|
|
|
|
2023-10-29 08:54:53 +00:00
|
|
|
- Fetch dependencies for the specified target:
|
2023-10-08 10:34:41 +01:00
|
|
|
|
2023-10-29 08:54:53 +00:00
|
|
|
`cargo fetch --target {{target_triple}}`
|