Crates.io | ferrous-forge |
lib.rs | ferrous-forge |
version | 1.4.2 |
created_at | 2025-09-17 23:51:35.670998+00 |
updated_at | 2025-09-26 00:37:45.778295+00 |
description | System-wide Rust development standards enforcer |
homepage | https://ferrous-forge.dev |
repository | https://github.com/kryptobaseddev/ferrous-forge |
max_upload_size | |
id | 1844059 |
size | 7,869,619 |
The Type-Safe Rust Development Standards Enforcer
"Like a blacksmith forges iron into steel, Ferrous Forge shapes your Rust code into perfection."
Hey there, fellow Rustaceans! ๐ This is my very first Rust crate, and I am absolutely thrilled to share it with the community!
After months of teaching myself Rust (what an incredible journey it's been!), and with the amazing power of Claude Code accelerating my learning exponentially, I've built something I hope you'll find useful. This tool was born from my own frustration with inconsistent code standards across projects, and my desire to enforce professional-grade Rust practices automatically.
I'm super excited to learn and grow with the Rust community! ๐ฆโจ
This is as much about my Rust learning journey as it is about building something useful. Thank you for taking the time to look at my work and for joining me on this adventure! ๐
Ferrous Forge is a system-wide Rust development standards enforcer that automatically applies professional-grade coding standards to every Rust project on your machine. No more inconsistent code, no more forgotten lint rules, no more _parameter
bandaids.
cargo fix --edition
_parameter
lazy patternscargo
and rustc
commands# Install Ferrous Forge globally
cargo install ferrous-forge
# Initialize system-wide standards (one-time setup)
ferrous-forge init
# Check your Rust version and get update recommendations
ferrous-forge rust check
# Check if your project uses the latest edition
ferrous-forge edition check
# That's it! All your Rust development now follows professional standards
cargo new my-project # Automatically uses Edition 2024 + standards
cargo new
:cargo build/test/run
:// โ These will cause compilation to fail:
fn bad_function(_unused: String) {} // Underscore bandaid
let _ = some_result; // Ignored results
some_value.unwrap(); // Unwrap in production
edition = "2021" // Wrong edition
The repository includes comprehensive CI/CD workflows. To use them in your fork:
Codecov Integration (optional):
CODECOV_TOKEN
to your repository secretsGitHub Pages (for documentation):
Ferrous Forge now helps you stay current with Rust versions and editions!
# Check your current Rust version vs latest
ferrous-forge rust check
# Get intelligent update recommendations
ferrous-forge rust recommend
# List recent Rust releases
ferrous-forge rust list --count 5
# Check if your project uses the latest edition
ferrous-forge edition check
# Analyze compatibility before migrating
ferrous-forge edition analyze
# Migrate your project to Edition 2024
ferrous-forge edition migrate 2024 --test
# Check if your code would pass CI
ferrous-forge safety check --stage=pre-commit
# Test all safety checks
ferrous-forge safety test
# View safety pipeline status
ferrous-forge safety status
Ferrous Forge follows semantic versioning and provides automatic updates:
# Check current version and available updates
ferrous-forge status
# Update to latest version
ferrous-forge update
# Update standards rules (independent of tool version)
ferrous-forge update-rules
# Rollback if needed
ferrous-forge rollback <version>
We welcome contributions! Ferrous Forge is built with modern Rust practices:
See CONTRIBUTING.md for detailed guidelines.
git clone https://github.com/kryptobaseddev/ferrous-forge
cd ferrous-forge
cargo install --path .
cargo test --all-features
cargo doc --open
Ferrous Forge operates at multiple levels:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ System Level โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โข Global Cargo configuration โ
โ โข Shell command hijacking โ
โ โข Rust toolchain management โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Project Level โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โข Template injection โ
โ โข Git hook installation โ
โ โข CI/CD configuration โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Runtime Level โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โข Custom Dylint lints โ
โ โข Clippy rule enforcement โ
โ โข Real-time validation โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Ferrous Forge adds minimal overhead while providing maximum value:
Licensed under either of:
at your option.
"Ferrous Forge has transformed how our team writes Rust. Code quality is no longer a concern."
โ Senior Rust Engineer at TechCorp
"This is what the Rust ecosystem needed. Professional standards, zero configuration."
โ Open Source Maintainer
Forge better Rust, automatically. ๐จ
โญ Star us on GitHub โข ๐ฆ Install from Crates.io โข ๐ Read the Docs