[Rust Guide] 1.3. Rust Cargo
1.3.0. Review At the end of the 1.2. Basic Understanding of Rust and Printing "Hello World" article, it was mentioned that only small, simple Rust projects are suitable for compilation using rustc,...
![[Rust Guide] 1.3. Rust Cargo](https://media2.dev.to/dynamic/image/width=1200,height=627,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ryouq6skkg7lz8c5lcm.png)
Source: DEV Community
1.3.0. Review At the end of the 1.2. Basic Understanding of Rust and Printing "Hello World" article, it was mentioned that only small, simple Rust projects are suitable for compilation using rustc, while large projects require Cargo. This article provides a detailed introduction to Cargo. 1.3.1. What is Cargo Cargo is Rust's build system and package manager. Its functions include building code, downloading dependent libraries, building these libraries... Cargo is installed automatically when installing Rust. To check if Cargo is correctly installed: enter the command cargo --version in the terminal 1.3.2. Creating Projects with Cargo Projects created in RustRover automatically configure Cargo, and you can see a file called Cargo.toml in the left project structure. For non-RustRover users, you can configure Cargo in the terminal: Copy the folder path where you want Cargo to be located, open terminal, enter command cd desired_path Then enter command cargo new desired_project_name to crea