Rust PR Diff Analyzer
Version updated for https://github.com/RAprogramm/rust-prod-diff-checker to version v2.0.1.
- This action is used across all versions by 3 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action automates the process of analyzing Rust project Pull Requests (PRs) to enforce size limits. It uses Rust AST analysis to count only meaningful production code changes, ignoring tests, benchmarks, and examples. This helps teams maintain cleaner PRs that are easier to review and maintain. The action supports features like semantic analysis, qualified names, line ranges, per-unit stats, smart classification, analysis scope reports, weighted scoring, flexible limits, PR comments, and multiple output formats including GitHub Actions format, JSON for integration, human-readable text, and markdown comments.