| Crates.io | rustyforge |
| lib.rs | rustyforge |
| version | 0.4.1 |
| created_at | 2025-06-14 17:11:50.769728+00 |
| updated_at | 2025-06-16 14:03:04.125677+00 |
| description | A fast build tool for C, written in Rust |
| homepage | |
| repository | https://github.com/konni332/rustyforge |
| max_upload_size | |
| id | 1712482 |
| size | 1,037,644 |
RustyForge is a minimal, fast, and cross-platform build system for C. It’s designed for simplicity and ease of use, with modern features like toml-based configuration, parallel builds, and hash-based caching. Ideal for both beginners and experienced developers looking for a streamlined alternative to Make.
RustyForge.toml configuration file.h files).c files to .o files with correct include paths.o files into the final executable.a) and dynamic (.so/.dll) librariesgcc or clang as the compiler (can either be specified in TOML or with --compiler)RustyForge.tomlRustyForge.tomlcargo install rustyforge
cargo build --releaserustyforge --version to check whether rustyforge has been installed successfullyrustyforge --help to see usagerustyforge init to create a new rustyforge projectrustyforge discover to automatically add files and include directories to the RustyForge.tomlrustyforge build to build the projectrustyforge run to run your executableCommandsrustyforge init
rustyforge discover
rustyforge build --verbose
rustyforge clean
RustyForge.toml[project]
name = "project-name"
targets = ["bin", "shared", "static"]
[build]
src = ["src/main.c", "src/foo.c"]
include_dirs = ["include"]
output = "lib_or_executable_name"
[dependencies]
libraries = ["bar"]
library_paths = ["libs"]
include_dirs = ["libs/include"]
posix_libraries = ["m", "pthreads"]
Planned: Direct comparison with Make and CMake, building sqlite3.
rustyforge.exe rebuild| Metric | Mean | Min | Max | Stddev | CV (%) |
|---|---|---|---|---|---|
| Real Time | 4.059 s | 4.020 s | 4.117 s | 0.029 s | 0.72 % |
| System Time | 0.109 s | 0.094 s | 0.250 s | 0.051 s | 46.41 % |
| User Time | 0.047 s | 0.016 s | 0.094 s | 0.024 s | 52.12 % |
| Max RSS | 8366 KB | 8268 KB | 8588 KB | 91.3 KB | 1.09 % |
| Exit Code | 0 (success) |
Feel free to open issues or pull requests for questions, ideas, or contributions
This project is licensed under either of
at your option.