[package]
edition = "2024"
rust-version = "1.88"
name = "fuzzy-regex"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance fuzzy regular expression engine combining regex with Damerau-Levenshtein distance"
homepage = "https://github.com/kakserpom/fuzzy-regex"
documentation = "https://kakserpom.github.io/fuzzy-regex-rs/"
readme = "README.md"
keywords = [
"regex",
"fuzzy",
"levenshtein",
"approximate",
"matching",
]
categories = [
"text-processing",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kakserpom/fuzzy-regex"
[features]
default = ["simd"]
mimalloc = ["dep:mimalloc"]
simd = []
[lib]
name = "fuzzy_regex"
path = "src/lib.rs"
[[bin]]
name = "fuzzy-regex"
path = "src/main.rs"
[[example]]
name = "check_simple"
path = "examples/check_simple.rs"
[[example]]
name = "compare_bench"
path = "examples/compare_bench.rs"
[[example]]
name = "debug"
path = "examples/debug.rs"
[[example]]
name = "mini_bench"
path = "examples/mini_bench.rs"
[[example]]
name = "profile_match"
path = "examples/profile_match.rs"
[[example]]
name = "quick_bench"
path = "examples/quick_bench.rs"
[[example]]
name = "test_pf"
path = "examples/test_pf.rs"
[[example]]
name = "test_prefilter"
path = "examples/test_prefilter.rs"
[[example]]
name = "verify_correctness"
path = "examples/verify_correctness.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "fuzz_tests"
path = "tests/fuzz_tests.rs"
[[test]]
name = "mrab_fuzzy_tests"
path = "tests/mrab_fuzzy_tests.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "streaming"
path = "tests/streaming.rs"
[[bench]]
name = "fuzzy_benchmarks"
path = "benches/fuzzy_benchmarks.rs"
harness = false
[dependencies.memchr]
version = "2.8"
[dependencies.mimalloc]
version = "0.1"
optional = true
default-features = false
[dependencies.smallvec]
version = "1.13"
[dependencies.smartcow]
version = "0.2"
[dependencies.thiserror]
version = "2.0"
[dependencies.unicode-segmentation]
version = "1.12"
[dev-dependencies.arbitrary]
version = "1"
features = ["derive"]
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.mdbook]
version = "0.5"
[dev-dependencies.proptest]
version = "1.10"
[dev-dependencies.regex]
version = "1"
[profile.release]
lto = true
codegen-units = 1