[package]
edition = "2021"
rust-version = "1.85"
name = "dfajit"
version = "0.1.1"
authors = ["Corum Collective LLC <contact@santh.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JIT compilation of DFA transition tables to native x86_64 jump tables"
homepage = "https://github.com/santhsecurity/Santh/tree/main/libs/performance/matching/dfajit"
documentation = "https://docs.rs/dfajit"
readme = false
keywords = [
"dfa",
"jit",
"regex",
"pattern-matching",
"performance",
]
categories = [
"algorithms",
"text-processing",
]
license = "MIT"
repository = "https://github.com/santhsecurity/Santh"
[features]
aho-corasick = ["dep:aho-corasick"]
default = []
regex = ["dep:regex-automata"]
[lib]
name = "dfajit"
path = "src/lib.rs"
[[example]]
name = "debug"
path = "examples/debug.rs"
[[test]]
name = "adversarial_jit"
path = "tests/adversarial_jit.rs"
[[test]]
name = "break_it"
path = "tests/break_it.rs"
[[test]]
name = "buffer_overflow"
path = "tests/adversarial/buffer_overflow.rs"
[[test]]
name = "impossible"
path = "tests/impossible/conditions.rs"
[[test]]
name = "invariants"
path = "tests/property/invariants.rs"
[[test]]
name = "jit_safety"
path = "tests/adversarial/jit_safety.rs"
[[test]]
name = "malformed"
path = "tests/adversarial/malformed.rs"
[[test]]
name = "overflow"
path = "tests/adversarial/overflow.rs"
[[test]]
name = "platform_edge_cases"
path = "tests/adversarial/platform_edge_cases.rs"
[[test]]
name = "proptest_parity"
path = "tests/proptest_parity.rs"
[[test]]
name = "regression"
path = "tests/regression/bug_test.rs"
[[test]]
name = "threads"
path = "tests/concurrent/threads.rs"
[[test]]
name = "unit"
path = "tests/unit/mod.rs"
[[test]]
name = "workflow"
path = "tests/integration/workflow.rs"
[[bench]]
name = "jit_bench"
path = "benches/jit_bench.rs"
harness = false
[dependencies.aho-corasick]
version = "1"
optional = true
[dependencies.libc]
version = "0.2"
[dependencies.matchkit]
version = "0.1"
[dependencies.regex-automata]
version = "0.4"
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.faultkit]
version = "0.1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rand]
version = "0.10.0"
[dev-dependencies.rusty-fork]
version = "0.3.1"
[lints.clippy]
expect_used = "deny"
missing_panics_doc = "allow"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1