1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-14 21:12:06 +02:00
2022-12-21 09:22:30 -08:00

664 B

Using Cargo

When you start reading about Rust, you will soon meet Cargo, the standard tool used in the Rust ecosystem to build and run Rust applications. Here we want to give a brief overview of what Cargo is and how it fits into the wider ecosystem and how it fits into this training.

On Debian/Ubuntu, you can install Cargo and the Rust source with

$ sudo apt install cargo rust-src

This will allow rust-analyzer to jump to the definitions. We suggest using VS Code to edit the code (but any LSP compatible editor works).