[package]
name = "tidy"
version = "0.1.0"
edition = "2024"
autobins = false

[dependencies]
build_helper = { path = "../../build_helper" }
cargo_metadata = "0.21"
regex = "1"
miropt-test-tools = { path = "../miropt-test-tools" }
walkdir = "2"
ignore = "0.4.18"
semver = "1.0"
serde = { version = "1.0.125", features = ["derive"], optional = true }
termcolor = "1.1.3"
rustc-hash = "2.0.0"
fluent-syntax = "0.12"
similar = "2.5.0"
toml = "0.7.8"

[features]
build-metrics = ["dep:serde"]

[[bin]]
name = "rust-tidy"
path = "src/main.rs"
test = false
