Create Rust Package - Cargo New | Online Free DevTools by Hexmos

Create Rust packages instantly with Cargo New. Generate new Rust projects with binary or library targets using the command line. Free online tool, no registration required.

cargo new

Create a new Cargo package. Equivalent of cargo init, but specifying a directory is required. More information: https://doc.rust-lang.org/cargo/commands/cargo-new.html.

  • Create a new Rust project with a binary target:

cargo new {{path/to/directory}}