[package]
edition = "2024"
rust-version = "1.85"
name = "codehelion-frontend-c"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C Fast-mode lexer and unit-boundary frontend for the codehelion source-audit tool."
homepage = "https://github.com/libraz/codehelion"
readme = false
license = "Apache-2.0"
repository = "https://github.com/libraz/codehelion"
[lib]
name = "codehelion_frontend_c"
path = "src/lib.rs"
[[test]]
name = "detect"
path = "tests/detect.rs"
[[test]]
name = "structural"
path = "tests/structural.rs"
[dependencies.codehelion-core]
version = "0.1.0"
[dependencies.tree-sitter]
version = "0.25"
[dependencies.tree-sitter-c]
version = "0.24"
[dev-dependencies.proptest]
version = "1.6"
[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1