mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
cargo: add German translation (#4664)
This commit is contained in:
parent
dd2fee0c19
commit
978233510e
1 changed files with 33 additions and 0 deletions
33
pages.de/common/cargo.md
Normal file
33
pages.de/common/cargo.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# cargo
|
||||
|
||||
> Rust Paketmanager.
|
||||
> Verwalte Rust-Projekte und deren Abhängigkeiten (crates).
|
||||
> Mehr Informationen: <https://crates.io/>.
|
||||
|
||||
- Suche nach Abhängigkeiten (crates):
|
||||
|
||||
`cargo search {{suchwort}}`
|
||||
|
||||
- Installiere eine Abhängigkeit (crate):
|
||||
|
||||
`cargo install {{abhängigkeits_name}}`
|
||||
|
||||
- Liste alle installierten Abhängigkeiten (crates) auf:
|
||||
|
||||
`cargo install --list`
|
||||
|
||||
- Erzeuge eine neues Rust-Projekt als Anwendung oder Bibliothek im aktuellen Verzeichnis:
|
||||
|
||||
`cargo init --{{bin|lib}}`
|
||||
|
||||
- Erzeuge eine neues Rust-Projekt als Anwendung oder Bibliothek im angegebenen Verzeichnis:
|
||||
|
||||
`cargo new {{pfad/zum/verzeichnis}} --{{bin|lib}}`
|
||||
|
||||
- Erstelle (bzw. kompiliere) das Rust-Projekt im aktuellen Verzeichnis:
|
||||
|
||||
`cargo build`
|
||||
|
||||
- Erstelle (bzw. kompiliere) mit einer bestimmten Anzahl an Threads (Standard ist die Anzahl der CPU-Kerne):
|
||||
|
||||
`cargo build -j {{jobs}}`
|
Loading…
Add table
Reference in a new issue