sheng 0.1.0

Register-resident refutation sieves for regex. Builds Hartmanis-Stearns SP-quotients of a pattern's automaton small enough to live in a SIMD register, and uses them to prove a document match-free before a real engine ever walks it. Sound by construction: a sieve may pass a non-matching document, never reject a matching one.
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.95"
name = "sheng"
version = "0.1.0"
authors = ["The Billy Company"]
build = false
exclude = ["/target"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Register-resident refutation sieves for regex. Builds Hartmanis-Stearns SP-quotients of a pattern's automaton small enough to live in a SIMD register, and uses them to prove a document match-free before a real engine ever walks it. Sound by construction: a sieve may pass a non-matching document, never reject a matching one."
homepage = "https://github.com/The-Billy-Company/sheng"
documentation = "https://docs.rs/sheng"
readme = "README.md"
keywords = [
    "regex",
    "prefilter",
    "simd",
    "automata",
    "refutation",
]
categories = [
    "text-processing",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/The-Billy-Company/sheng"

[lib]
name = "sheng"
path = "src/lib.rs"

[[example]]
name = "bench"
path = "examples/bench.rs"

[[example]]
name = "skip"
path = "examples/skip.rs"

[[example]]
name = "mint"
path = "examples/mint.rs"

[[example]]
name = "survey"
path = "examples/survey.rs"

[[test]]
name = "policy"
path = "tests/policy.rs"

[[test]]
name = "soundness"
path = "tests/soundness.rs"

[dependencies.memchr]
version = "2.8.3"
features = ["std"]
default-features = false

[dependencies.regex-automata]
version = "0.4.16"
features = [
    "std",
    "syntax",
    "nfa-thompson",
    "dfa-build",
]
default-features = false

[dev-dependencies.regex-automata]
version = "0.4.16"
features = [
    "std",
    "syntax",
    "nfa-thompson",
    "dfa-build",
    "dfa-search",
]

[lints.clippy]
undocumented_unsafe_blocks = "deny"

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.rust]
missing_docs = "deny"
unsafe_op_in_unsafe_fn = "deny"

[profile.dev]
debug = "line-tables-only"

[profile.profiling]
debug = 2
inherits = "release"
strip = false

[profile.release]
lto = "thin"
codegen-units = 16
strip = true