[package]
edition = "2024"
rust-version = "1.92"
name = "guard-core-engine"
version = "4.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Detection engine for the Guard ecosystem: pattern compilation, input preprocessing, and semantic analysis."
readme = false
license = "MIT OR Apache-2.0"
[lib]
name = "guard_core_engine"
path = "src/lib.rs"
[[bin]]
name = "guard-pattern-probe"
path = "src/bin/guard_pattern_probe.rs"
[[test]]
name = "binary_noise_gate"
path = "tests/binary_noise_gate.rs"
[[test]]
name = "body_scan_detection"
path = "tests/body_scan_detection.rs"
[[test]]
name = "pattern_probe_bin"
path = "tests/pattern_probe_bin.rs"
[[test]]
name = "pattern_row_case_parity"
path = "tests/pattern_row_case_parity.rs"
[[test]]
name = "recon_bare_word_context"
path = "tests/recon_bare_word_context.rs"
[[test]]
name = "recon_raw_view_scan"
path = "tests/recon_raw_view_scan.rs"
[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false
[dependencies.chrono-tz]
version = "0.10"
features = ["case-insensitive"]
default-features = false
[dependencies.fancy-regex]
version = "0.19"
features = ["unicode"]
default-features = false
[dependencies.html-escape]
version = "0.2.13"
[dependencies.lru]
version = "0.18.0"
[dependencies.percent-encoding]
version = "2.3.2"
[dependencies.rand]
version = "0.10"
features = [
"std",
"thread_rng",
]
default-features = false
[dependencies.regex]
version = "1.12.4"
[dependencies.serde_json]
version = "1.0.145"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.11"
[dependencies.unicode-normalization]
version = "0.1.25"
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]