Skip to content

Commit

Permalink
Merge pull request #24 from leowzukw/cargo-alias
Browse files Browse the repository at this point in the history
Add cargo aliases
  • Loading branch information
ralfbiedert authored Jan 18, 2019
2 parents e9abf65 + e3657eb commit d56bd82
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,10 @@ Some commands and tools that are good to know.
| Command | Description |
|--------| ---- |
| `cargo init` | Create a new project for the latest edition. |
| `cargo build` | Build the project in debug mode (`--release` for all optimization). |
| `cargo check` | Check if project would compile (much faster). |
| `cargo build`, `cargo b` | Build the project in debug mode (`--release` for all optimization). |
| `cargo check`, `cargo c` | Check if project would compile (much faster). |
| `cargo test`, `cargo t` | Run tests for the project. |
| `cargo run`, `cargo r` | Run your project, if a binary is produced (main.rs). |
| `cargo rustc -- -Zunpretty=X` | Show more desugared Rust code, in particular with X being: |
| | `expanded` Show with expanded macros, ... |
| `rustup docs` | Open offline Rust documentation, good on a plane! |
Expand Down

0 comments on commit d56bd82

Please sign in to comment.