[package]
edition = "2021"
name = "pattern-emit"
version = "0.6.2"
build = false
include = [
"src",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RE2 patterns as search tables: compile builds each into a sparse DFA, a program that only searches links just the search."
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/nodeve-com/pattern-emit"
[features]
build = [
"dep:regex-syntax",
"regex-automata/std",
"regex-automata/syntax",
"regex-automata/dfa-build",
]
[lib]
name = "pattern_emit"
path = "src/lib.rs"
[dependencies.regex-automata]
version = "0.4.18"
features = ["dfa-search"]
default-features = false
[dependencies.regex-syntax]
version = "0.8.11"
optional = true
[dependencies.spin]
version = "0.9"
features = ["once"]
default-features = false
[dev-dependencies.serde_json]
version = "1"
features = [
"preserve_order",
"raw_value",
]
[lints.clippy]
arithmetic_side_effects = "deny"
expect_used = "deny"
fn_params_excessive_bools = "deny"
indexing_slicing = "deny"
struct_excessive_bools = "deny"
too_many_lines = "warn"
unwrap_used = "deny"