rust-diff-analyzer 1.6.0

Semantic analyzer for Rust PR diffs that distinguishes production code from test code
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "rust-diff-analyzer"
version = "1.6.0"
authors = ["RAprogramm <andrey.rozanov.vl@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Semantic analyzer for Rust PR diffs that distinguishes production code from test code"
readme = "README.md"
keywords = [
    "rust",
    "diff",
    "analyzer",
    "github-actions",
    "code-review",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/RAprogramm/rust-prod-diff-checker"

[lib]
name = "rust_diff_analyzer"
path = "src/lib.rs"

[[bin]]
name = "rust-diff-analyzer"
path = "src/bin/main.rs"

[[test]]
name = "config_test"
path = "tests/config_test.rs"

[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "negative"
path = "tests/negative.rs"

[[test]]
name = "property"
path = "tests/property.rs"

[[bench]]
name = "analysis"
path = "benches/analysis.rs"
harness = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.masterror]
version = "0.27"

[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.similar]
version = "3"

[dependencies.syn]
version = "2"
features = [
    "full",
    "parsing",
    "visit",
    "extra-traits",
]

[dependencies.toml]
version = "1"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(masterror_has_error_generic_member_access)"]

[profile.release]
opt-level = 3
lto = true
codegen-units = 1