Skip to content

Initializing a rust project

Course: Rust Bootcamp - chapter 5

Run the following command to bootstrap a simple Rust project

mkdir rust-project
cd rust-project
cargo init

By default, a rust application gets initialised

It means an end user app that actually executes independently. Spits out a binary when compiled

cargo init --lib

This would initialize a library that you can deploy for other people to use