Crate ferrous_forge

Crate ferrous_forge 

Source
Expand description

§Ferrous Forge

The Type-Safe Rust Development Standards Enforcer

Ferrous Forge is a comprehensive system-wide tool that automatically enforces professional Rust development standards across all projects on your machine.

§Features

  • Zero underscore bandaid coding enforcement
  • Edition 2024 automatic upgrades
  • System-wide cargo command hijacking
  • Automatic project template injection
  • Real-time code validation
  • Professional CI/CD setup

§Quick Start

cargo install ferrous-forge
ferrous-forge init
cargo new my-project  # Now follows all standards automatically

§Modules

  • cli - Command line interface definitions
  • commands - Command implementations
  • config - Configuration management
  • standards - Standards definitions and enforcement
  • templates - Project template system
  • validation - Code validation and linting
  • updater - Self-update and version management

Re-exports§

pub use crate::config::Config;
pub use crate::error::Error;
pub use crate::error::Result;

Modules§

ai_analyzer
AI-powered violation analysis module AI analysis module for automated violation analysis
cli
Command Line Interface for Ferrous Forge
commands
Command implementations for Ferrous Forge
config
Configuration management for Ferrous Forge
doc_coverage
Documentation coverage checking module
edition
Rust edition detection and migration assistance
error
Error handling for Ferrous Forge
formatting
Code formatting and auto-correction module
git_hooks
Git hooks installation and management
rust_version
Rust version management and checking
safety
Enhanced Safety Pipeline for Ferrous Forge
security
Security audit integration module
standards
Rust coding standards definitions and enforcement
templates
Template System 2.0 - Project templates with Ferrous Forge standards built-in
test_coverage
Test coverage module - now modularized for better organization
updater
Self-update system for Ferrous Forge
validation
Rust code validation engine

Constants§

MIN_RUST_VERSION
Minimum supported Rust version
REQUIRED_EDITION
Edition enforced by Ferrous Forge
VERSION
Current version of Ferrous Forge