A command-line tool to scaffold Rust projects from Hamze's template.
brew install hamze/rust/rust-new- Clone this repository:
git clone https://github.com/HamzeGhalebi/rust-new.git- Make the script executable:
chmod +x rust-new.sh- Move it to your PATH (optional):
sudo mv rust-new.sh /usr/local/bin/rust-newrust-new <project-name>This will create a new Rust project with the following structure:
project-name/
├── src/
│ └── main.rs
├── Cargo.toml
├── .gitignore
└── README.md
- Creates a new Rust project with a standard structure
- Sets up basic project configuration
- Initializes Git repository
- Adds common development dependencies
MIT License - see the LICENSE file for details.