mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 12:01:26 +00:00
Update cheatsheets
This commit is contained in:
17
cargo-fetch
Normal file
17
cargo-fetch
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user