5 releases

Uses new Rust 2024

0.1.4 Oct 2, 2025
0.1.3 Oct 2, 2025
0.1.2 Oct 2, 2025
0.1.1 Oct 2, 2025
0.1.0 Oct 2, 2025

#195 in Cargo plugins

MIT license

43KB
204 lines

Boots

Rust template generator for building modular architectures

Crates.io Test Build License

Installation

Use Cargo

cargo install boots

Use Pre-built Binaries

Download pre-built binaries for your platform from Releases:

Linux & Unix(MacOS) e.g., linux-x64

curl -LO https://github.com/1eedaegon/boots/releases/latest/download/boots-linux-x64.tar.gz
tar xzf boots-linux-x64.tar.gz
sudo mv boots cargo-boots /usr/local/bin/

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)
boots generate

# With project name
boots generate sample-project

# Using cargo subcommand
cargo boots generate sample-project

Add components to existing project

# Add GitHub Actions workflow
boots add gh:test      # Test workflow
boots add gh:build     # Build workflow
boots add gh:semver    # Release workflow

# Add performance benchmarks
boots add test:perf

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

boots generate my-cli-tool
cd my-cli-tool
cargo run --bin my-cli-tool

Create a library with CLI

boots generate my-library
cd my-library

# Work on the library
cargo build -p my-library-core

# Work on the CLI
cargo run -p my-library-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

Dependencies

~37–56MB
~1M SLoC