sofie-check 0.4.0

Structure checks (comment density, god types) and the `sofie check` rules over the app model.
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"
rust-version = "1.99"
name = "sofie-check"
version = "0.4.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."
homepage = "https://sofie.rs"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/sofie-rs/sofie"

[package.metadata.docs.rs]
all-features = true

[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.4.0"

[dependencies.sofie-engine]
version = "0.4.0"
features = [
    "analysis",
    "gates",
    "islands",
]

[dependencies.sofie-model]
version = "0.4.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"