Skip to main content

Crate cargo_bless

Crate cargo_bless 

Source

Modules§

advisories
Security advisory integration via the osv.dev batch API.
bs_detector
BS Detector — finds hardcoded bullshit values in Rust source files.
code_audit
Static Rust code audit for suspicious complexity and brittle patterns.
feedback
Privacy-safe --feedback output for voluntary issue reports.
fix
Fix layer — applies auto-fixable suggestions by editing Cargo.toml using toml_edit to preserve comments and formatting.
intel
Live intelligence layer — fetches metadata from crates.io and GitHub to assess freshness, popularity, and maintenance status.
output
Output layer — renders the modernization report to the terminal with colored output, emojis, and actionable links.
parser
Parser layer — extracts the full dependency tree from Cargo.toml / Cargo.lock using cargo_metadata for feature-aware resolution.
policy
Policy layer — parses bless.toml for custom rules, overrides, and enforcement settings.
suggestions
Suggestion engine — rule-based recommendations from blessed.rs mappings.
updater
Self-updating rules — fetches the latest blessed.rs crate recommendations and converts them into cargo-bless suggestion rules.