[package]
edition = "2024"
rust-version = "1.85"
name = "codehelion-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Engine and intermediate representation 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_core"
path = "src/lib.rs"
[[test]]
name = "build_variant_partition"
path = "tests/build_variant_partition.rs"
[[bench]]
name = "guardrail_work"
path = "benches/guardrail_work.rs"
harness = false
[dependencies.blake3]
version = "1"
[dependencies.ignore]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[dev-dependencies.tempfile]
version = "3"
[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