unsafe-budget 0.4.0

keeps the unsafety demons out. an unsafe code budget gate for CI pipelines.
Documentation
//! # unsafe-budget
//!
//! an unsafe code budget gate for ci pipelines.
//!
//! this library provides the core functionality for tracking unsafe code usage
//! in rust and go projects, comparing against baselines, and enforcing budgets.
//!
//! ## quick example
//!
//! ```no_run
//! use unsafe_budget::analyzer::detect_analyzer;
//! use unsafe_budget::model::ScanOpts;
//!
//! let opts = ScanOpts::default();
//! let analyzer = detect_analyzer(&opts).unwrap();
//! let result = analyzer.run(&opts).unwrap();
//!
//! println!("total unsafe: {}", result.totals.overall_unsafe);
//! for unit in &result.units {
//!     println!("  {}: {}", unit.name, unit.unsafe_count);
//! }
//! ```
//!
//! ## modules
//!
//! - [`analyzer`] - analyzer trait and built-in implementations
//! - [`budget`] - budget comparison engine (ratchet and caps modes)
//! - [`config`] - configuration and baseline file handling
//! - [`model`] - core data types (ScanResult, Unit, etc.)
//! - [`output`] - text and json formatters

pub mod analyzer;
pub mod app;
pub mod budget;
pub mod cli;
pub mod config;
pub mod error;
pub mod model;
pub mod output;
pub mod sarif;