[package]
edition = "2024"
rust-version = "1.99"
name = "sofie-check"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Structure checks (comment density, god types) and the `sofie check` rules over the app model."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/sofie-rs/sofie"
[features]
slow-tests = []
[lib]
name = "sofie_check"
path = "src/lib.rs"
[[test]]
name = "actions"
path = "tests/actions.rs"
[[test]]
name = "entitlements"
path = "tests/entitlements.rs"
[[test]]
name = "flags"
path = "tests/flags.rs"
[[test]]
name = "limits"
path = "tests/limits.rs"
[[test]]
name = "rules"
path = "tests/rules.rs"
[[test]]
name = "structure"
path = "tests/structure.rs"
[dependencies.proc-macro2]
version = "1.0.107"
features = ["span-locations"]
[dependencies.sofie-core]
version = "0.1.0"
[dependencies.sofie-engine]
version = "0.1.0"
features = [
"analysis",
"gates",
"islands",
]
[dependencies.sofie-model]
version = "0.1.0"
[dependencies.syn]
version = "3.0.7"
features = ["full"]
[dev-dependencies]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
unused_async = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"