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.
- 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
From crates.io:
cargo install rustyforgeFrom GitHub:
git clone https://github.com/konni332/rustyforge.git
cd rustyforge
cargo install --path .- 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-appFor a full reference, see the following documents:
rustyforge build --release --exe examplerustyforge run --release --exe example -- -p 8080rustyforge cleanrustyforge info --jsonPlans 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.
Rustyforge is licensed under either
at your option
