[package]
edition = "2024"
name = "cha-core"
version = "0.6.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core analysis engine for Cha — pluggable code smell detection"
homepage = "https://github.com/W-Mai/Cha"
readme = false
keywords = [
"code-quality",
"static-analysis",
"linter",
"ast",
"wasm",
]
categories = [
"development-tools",
"development-tools::testing",
]
license = "MIT"
repository = "https://github.com/W-Mai/Cha"
resolver = "2"
[lib]
name = "cha_core"
path = "src/lib.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "test_api_surface"
path = "tests/test_api_surface.rs"
[[test]]
name = "test_comments"
path = "tests/test_comments.rs"
[[test]]
name = "test_complexity"
path = "tests/test_complexity.rs"
[[test]]
name = "test_coupling"
path = "tests/test_coupling.rs"
[[test]]
name = "test_data_class"
path = "tests/test_data_class.rs"
[[test]]
name = "test_data_clumps"
path = "tests/test_data_clumps.rs"
[[test]]
name = "test_dead_code"
path = "tests/test_dead_code.rs"
[[test]]
name = "test_duplicate"
path = "tests/test_duplicate.rs"
[[test]]
name = "test_feature_envy"
path = "tests/test_feature_envy.rs"
[[test]]
name = "test_inappropriate_intimacy"
path = "tests/test_inappropriate_intimacy.rs"
[[test]]
name = "test_layer_violation"
path = "tests/test_layer_violation.rs"
[[test]]
name = "test_lazy_class"
path = "tests/test_lazy_class.rs"
[[test]]
name = "test_length"
path = "tests/test_length.rs"
[[test]]
name = "test_long_param"
path = "tests/test_long_param.rs"
[[test]]
name = "test_message_chain"
path = "tests/test_message_chain.rs"
[[test]]
name = "test_middle_man"
path = "tests/test_middle_man.rs"
[[test]]
name = "test_naming"
path = "tests/test_naming.rs"
[[test]]
name = "test_primitive_obsession"
path = "tests/test_primitive_obsession.rs"
[[test]]
name = "test_refused_bequest"
path = "tests/test_refused_bequest.rs"
[[test]]
name = "test_speculative_generality"
path = "tests/test_speculative_generality.rs"
[[test]]
name = "test_switch"
path = "tests/test_switch.rs"
[[test]]
name = "test_temporary_field"
path = "tests/test_temporary_field.rs"
[dependencies.regex]
version = "1.12.3"
[dependencies.schemars]
version = "1.2.1"
features = ["derive"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.toml]
version = "0.8"
[dependencies.wasmtime]
version = "43"
features = ["component-model"]
[dependencies.wasmtime-wasi]
version = "43"
[dev-dependencies.proptest]
version = "1"