Boots
Rust template generator for building modular architectures
Installation
Use Cargo
Use Pre-built Binaries
Download pre-built binaries for your platform from Releases:
Linux & Unix(MacOS) e.g., linux-x64
Windows(PowerShell) e.g., windows-x64
# Download
Invoke-WebRequest -Uri "https://github.com/1eedaegon/boots/releases/latest/download/boots-windows-x64.zip" -OutFile "boots.zip"
# Extract
Expand-Archive -Path boots.zip -DestinationPath .
# Move to PATH (adjust path as needed)
Move-Item boots.exe,cargo-boots.exe "$env:USERPROFILE\.cargo\bin\"
Usage
Generate a new project
# Interactive mode (prompts for project name)
# With project name
# Using cargo subcommand
Add components to existing project
# Add GitHub Actions workflow
# Add performance benchmarks
Generated Project Structure
sample-project/
├── .github/
│ └── workflows/ # CI/CD configurations
├── crates/
│ ├── core/ # Core library
│ └── cli/ # CLI application
├── Cargo.toml # Workspace configuration
└── README.md
Examples
Create & Run a new CLI tool
Create a library with CLI
# Work on the library
# Work on the CLI
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built with cargo-generate
- Inspired by other project structures