Rust Doctor

•
6
•

Perform a comprehensive health check for Rust projects, unifying code analysis, security audits, and custom rules into a single 0-100 health score.

Rust Doctor is a powerful diagnostic tool designed to elevate the quality and security of your Rust projects. It consolidates outputs from standard Rust linters and auditing tools like Clippy, Cargo-Audit, Cargo-Deny, and Cargo-Geiger, supplementing them with 19 custom AST rules. The tool distills these findings into an intuitive 0–100 health score across multiple dimensions, providing actionable diagnostics. Available as a CLI, library, npm package, GitHub Action, and an MCP server, it seamlessly integrates into development workflows, CI pipelines, and AI coding agents to scan, score, and even automatically fix code issues.

주요 기능

01Offers a `--fix` mode for applying machine-applicable code improvements
02Unifies 700+ Clippy lints, Cargo-Audit, Cargo-Deny, Cargo-Geiger, and 19 custom AST rules
03Generates a 0–100 health score across five weighted dimensions (Security, Reliability, Maintainability, Performance, Dependencies)
04Provides an MCP server and GitHub Action for seamless integration with AI agents and CI/CD pipelines
05Supports various output formats including terminal, JSON, SARIF, and bare score for CI gating
063 GitHub stars

사용 사례

01Performing quick health checks on Rust projects to identify and prioritize technical debt
02Automating code quality and security checks in CI/CD pipelines
03Integrating with AI coding agents (Claude Code, Cursor) for proactive code scanning and remediation