Rusty Forge
January 14, 2026 ยท View on GitHub
Rusty Forge
RustyForge is a minimal build manager for C/C++ projects written in Rust. It automates compiling binaries and libraries, supports parallel builds, profiles, features, and manages a build cache.
Features
- Automatic discovery of source files (*.c, *.cpp).
- Multiple binaries and a static/shared library per project
- Parallel compilation using a configurable thread pool
- Build profiles: dev and release
- Feature-driven compile-time defines
- Fully configurable project manifest via
RustyForge.toml - Cli for build, run, clean, info
Installation
From crates.io:
cargo install rustyforge
From GitHub:
git clone https://github.com/konni332/rustyforge.git
cd rustyforge
cargo install --path .
Quick Start
- Create a new project using
rustyforge new <project-name>and add a target, e.g. binary or library, to the manifest - Add C/C++ source files
- Build your project:
rustyforge build --release
- Run a binary:
rustyforge run --exe your-app
Documentation
For a full reference, see the following documents:
Examples
Build a release binary
rustyforge build --release --exe example
Run a binary with arguments
rustyforge run --release --exe example -- -p 8080
Clean the build directory
rustyforge clean
Display project info in JSON
rustyforge info --json
Planned features
Plans for the future include, but are not limited to:
- Dependencies, e.g. a fully fletched dependency system, possibly using a registry and fetching either RustyForge projects or build arifacts.
License
Rustyforge is licensed under either
at your option