[package]
edition = "2024"
name = "dylint_testing"
version = "6.0.0"
authors = ["Samuel E. Moelius III <sam@moeli.us>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utilities for testing Dylint libraries"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/trailofbits/dylint"
resolver = "2"
[features]
default = []
deny_warnings = []
[lib]
name = "dylint_testing"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.cargo_metadata]
version = "0.23"
[dependencies.compiletest_rs]
version = "0.11"
[dependencies.dylint]
version = "=6.0.0"
[dependencies.dylint_internal]
version = "=6.0.0"
[dependencies.env_logger]
version = "0.11"
[dependencies.once_cell]
version = "1.21"
[dependencies.regex]
version = "1.12"
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3.27"
[lints.clippy]
missing-errors-doc = "allow"
missing-panics-doc = "allow"
option-if-let-else = "allow"
significant-drop-tightening = "allow"
struct-field-names = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = [
"cfg(coverage)",
"cfg(dylint_lib, values(any()))",
"cfg(nightly)",
"cfg(__cargo_cli)",
"cfg(__library_packages)",
]