[package]
edition = "2024"
name = "whitaker-common"
version = "0.2.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal common utilities for Whitaker lints"
homepage = "https://df12.studio/docs.html"
documentation = "https://github.com/leynos/whitaker/tree/main/docs/users-guide.md"
readme = false
license = "ISC"
repository = "https://github.com/leynos/whitaker"
resolver = "2"
[features]
default = []
[lib]
name = "whitaker_common"
path = "src/lib.rs"
[[test]]
name = "brain_trait_evaluation_behaviour"
path = "tests/brain_trait_evaluation_behaviour.rs"
[[test]]
name = "brain_trait_metrics_behaviour"
path = "tests/brain_trait_metrics_behaviour.rs"
[[test]]
name = "brain_type_evaluation_behaviour"
path = "tests/brain_type_evaluation_behaviour.rs"
[[test]]
name = "brain_type_metrics_behaviour"
path = "tests/brain_type_metrics_behaviour.rs"
[[test]]
name = "cognitive_complexity_behaviour"
path = "tests/cognitive_complexity_behaviour.rs"
[[test]]
name = "complexity_signal_behaviour"
path = "tests/complexity_signal_behaviour.rs"
[[test]]
name = "context_behaviour"
path = "tests/context_behaviour.rs"
[[test]]
name = "cosine_threshold_behaviour"
path = "tests/cosine_threshold_behaviour.rs"
[[test]]
name = "decomposition_adjacency_behaviour"
path = "tests/decomposition_adjacency_behaviour.rs"
[[test]]
name = "decomposition_advice_behaviour"
path = "tests/decomposition_advice_behaviour.rs"
[[test]]
name = "decomposition_diagnostic_notes_behaviour"
path = "tests/decomposition_diagnostic_notes_behaviour.rs"
[[test]]
name = "decomposition_label_propagation_behaviour"
path = "tests/decomposition_label_propagation_behaviour.rs"
[[test]]
name = "decomposition_vector_algebra_behaviour"
path = "tests/decomposition_vector_algebra_behaviour.rs"
[[test]]
name = "i18n_behaviour"
path = "tests/i18n_behaviour.rs"
[[test]]
name = "i18n_packaging"
path = "tests/i18n_packaging.rs"
[[test]]
name = "lcom4_behaviour"
path = "tests/lcom4_behaviour.rs"
[[test]]
name = "localizer_helpers"
path = "tests/localizer_helpers.rs"
[[test]]
name = "method_extraction_behaviour"
path = "tests/method_extraction_behaviour.rs"
[[test]]
name = "rstest_detection_behaviour"
path = "tests/rstest_detection_behaviour.rs"
[[test]]
name = "rstest_fingerprint_behaviour"
path = "tests/rstest_fingerprint_behaviour.rs"
[[test]]
name = "rstest_span_recovery_behaviour"
path = "tests/rstest_span_recovery_behaviour.rs"
[dependencies.camino]
version = "1.2.1"
[dependencies.fluent-templates]
version = "^0.14.0"
[dependencies.glob]
version = "0.3.3"
[dependencies.log]
version = "0.4.28"
[dependencies.once_cell]
version = "^1.21.3"
[dependencies.tempfile]
version = "3.14.0"
[dependencies.thiserror]
version = "2"
[dependencies.unic-langid]
version = "^0.9.4"
[dev-dependencies.logtest]
version = "2.0.0"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.regex]
version = "1.10.4"
[dev-dependencies.rstest]
version = "0.26.1"
[dev-dependencies.rstest-bdd]
version = "0.5.0"
[dev-dependencies.rstest-bdd-macros]
version = "0.5.0"
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]