Skip to main content

Rust initial setup & commands

/cargo new sample # create a new project with name sample

It will create directory structure as below-

/ cd sample

/ cargo run # run a project