guard-core-engine 4.2.0

Detection engine for the Guard ecosystem: pattern compilation, input preprocessing, and semantic analysis.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92"
name = "guard-core-engine"
version = "4.2.0"
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"

[[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_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.html-escape]
version = "0.2.13"

[dependencies.lru]
version = "0.18.0"

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.regex]
version = "1.12.4"

[dependencies.serde_json]
version = "1.0.145"

[dependencies.sha2]
version = "0.10"

[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"