[package]
name = "compiletest"
version = "0.0.0"
edition = "2024"

[lib]
doctest = false

[[bin]]
name = "compiletest"
path = "src/bin/main.rs"
# The compiletest binary crate is a tiny stub that shouldn't contain any unit
# tests of its own; all of the logic is in the library crate.
test = false

[dependencies]
# tidy-alphabetical-start
anstyle-svg = "0.1.11"
build_helper = { path = "../../build_helper" }
camino = "1"
colored = "2"
diff = "0.1.10"
getopts = "0.2"
glob = "0.3.0"
home = "0.5.5"
indexmap = "2.0.0"
miropt-test-tools = { path = "../miropt-test-tools" }
rayon = "1.10.0"
regex = "1.0"
rustfix = "0.8.1"
semver = { version = "1.0.23", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["ansi", "env-filter", "fmt", "parking_lot", "smallvec"] }
unified-diff = "0.2.1"
walkdir = "2"
# tidy-alphabetical-end

[target.'cfg(unix)'.dependencies]
libc = "0.2"

[target.'cfg(windows)'.dependencies]
miow = "0.6"

[target.'cfg(windows)'.dependencies.windows]
version = "0.61.0"
features = [
    "Win32_Foundation",
    "Win32_System_Diagnostics_Debug",
]
