[package]
edition = "2021"
rust-version = "1.83"
name = "regexr"
version = "0.2.0"
authors = ["Farhan Syah"]
build = false
exclude = [
"/.config/",
"/.github/",
"/data/",
"/docs/",
"/images/",
"/scripts/",
"/deny.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance regex engine built from scratch with JIT compilation and SIMD acceleration"
readme = "README.md"
keywords = [
"regex",
"jit",
"simd",
"pattern-matching",
]
categories = [
"text-processing",
"parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ml-rust/regexr"
[features]
default = ["simd"]
full = [
"jit",
"simd",
]
jit = [
"dynasm",
"dynasmrt",
]
simd = []
[lib]
name = "regexr"
path = "src/lib.rs"
[[example]]
name = "bench_compare"
path = "examples/bench_compare.rs"
[[example]]
name = "diff_oracle"
path = "examples/diff_oracle.rs"
[[example]]
name = "profile_cl100k"
path = "examples/profile_cl100k.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "bounded_execution"
path = "tests/bounded_execution.rs"
[[test]]
name = "engines"
path = "tests/engines.rs"
[[test]]
name = "features"
path = "tests/features.rs"
[[test]]
name = "iteration_context"
path = "tests/iteration_context.rs"
[[test]]
name = "iteration_fuzz"
path = "tests/iteration_fuzz.rs"
[[test]]
name = "patterns"
path = "tests/patterns.rs"
[[test]]
name = "perf_backref"
path = "tests/perf_backref.rs"
[[test]]
name = "reference_conformance"
path = "tests/reference_conformance.rs"
[[test]]
name = "unicode"
path = "tests/unicode.rs"
[[bench]]
name = "competitors"
path = "benches/competitors.rs"
harness = false
[dependencies.aho-corasick]
version = "1.1"
[dependencies.dynasm]
version = "5.1"
optional = true
[dependencies.dynasmrt]
version = "5.1"
optional = true
[dependencies.memchr]
version = "2.8"
[dev-dependencies.aho-corasick]
version = "1.1"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.fancy-regex]
version = "0.19"
[dev-dependencies.pcre2]
version = "0.2"
[dev-dependencies.regex]
version = "1.13"