The cargo new command is used to create a new project in Rust. Rust users can use below syntax create a sample project using Cargo.

$ cargo new project_name –bin

BY Best Interview Question ON 13 Jan 2019