[package]
edition = "2024"
name = "deslop"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A static analyzer that spots low-context and AI-assisted code patterns across naming, concurrency, security, performance, and test quality."
readme = "README.md"
keywords = [
"cli",
"utility",
"tool",
"slop-detector",
"code-quality",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/chinmay-sawant/deslop"
[lib]
name = "deslop"
path = "src/lib.rs"
[[bin]]
name = "deslop"
path = "src/main.rs"
[[test]]
name = "benchmark_guard"
path = "tests/benchmark_guard.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "integration_scan"
path = "tests/integration_scan.rs"
[[test]]
name = "parser_corpus_regression"
path = "tests/parser_corpus_regression.rs"
[[test]]
name = "parser_invariants"
path = "tests/parser_invariants.rs"
[[test]]
name = "semantic_flag"
path = "tests/semantic_flag.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.clap]
version = "4.6.0"
features = ["derive"]
[dependencies.ignore]
version = "0.4.25"
[dependencies.libc]
version = "0.2.177"
[dependencies.rayon]
version = "1.11.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.thiserror]
version = "1.0.69"
[dependencies.toml]
version = "0.8.23"
[dependencies.tree-sitter]
version = "0.26.7"
[dependencies.tree-sitter-go]
version = "0.25.0"
[dependencies.tree-sitter-python]
version = "0.25.0"
[dependencies.tree-sitter-rust]
version = "0.24.0"
[dev-dependencies.proptest]
version = "1.7.0"
[dev-dependencies.tempfile]
version = "3.20.0"
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
panic = "abort"
overflow-checks = true
strip = "symbols"