rust-diff-analyzer 1.2.0

Semantic analyzer for Rust PR diffs that distinguishes production code from test code
Documentation
# SPDX-FileCopyrightText: 2025 RAprogramm <andrey.rozanov.vl@gmail.com>
# SPDX-License-Identifier: MIT

codecov:
  require_ci_to_pass: true

coverage:
  precision: 2
  round: down
  range: "70...100"
  status:
    project:
      default:
        target: auto
        threshold: 5%
        if_ci_failed: error
    patch:
      default:
        target: 80%
        threshold: 5%

comment:
  layout: "reach,diff,flags,files"
  behavior: default
  require_changes: true
  require_base: false
  require_head: true

ignore:
  - "benches/**"
  - "examples/**"
  - "tests/**"

flag_management:
  default_rules:
    carryforward: true
    statuses:
      - type: project
        target: auto
        threshold: 5%
      - type: patch
        target: 80%
  individual_flags:
    - name: lib
      paths:
        - src/lib.rs
        - src/analysis/**
        - src/config.rs
        - src/error.rs
        - src/git/**
        - src/output/**
      carryforward: true
      statuses:
        - type: project
          target: auto
        - type: patch
          target: 80%
    - name: bin
      paths:
        - src/bin/**
      carryforward: true
      statuses:
        - type: project
          target: auto
        - type: patch
          target: 70%