[package]
name = "regexsolver"
version = "1.0.2"
edition = "2024"
rust-version = "1.88"
authors = ["Alexandre van Beurden"]
repository = "https://github.com/RegexSolver/regexsolver"
homepage = "https://github.com/RegexSolver/regexsolver"
documentation = "https://docs.rs/regexsolver"
license = "MIT"
keywords = ["automaton", "intersection", "union", "difference", "regex"]
categories = ["text-processing", "mathematics", "algorithms"]
description = "High-performance Rust library for building, combining, and analyzing regular expressions and finite automata"
readme = "README.md"
include = [
"/src/**/*.rs",
"/benches/**/*.rs",
"/examples/**/*.rs",
"/tests/**/*.rs",
"/tests/data/*.txt",
"/README.md",
"/CHANGELOG.md",
"/LICENSE",
]
[dependencies]
tracing = "0.1"
regex-syntax = "0.8.11"
regex-charclass = { version = "1.2.0", features = ["ucd-16"] }
bit-set = "0.11.1"
indexmap = "2.13.0"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
rayon = { version = "1.10.0", optional = true }
[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies]
ahash = "0.8.11"
[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies]
ahash = { version = "0.8.11", default-features = false, features = ["std", "compile-time-rng"] }
[features]
default = ["parallel"]
parallel = ["dep:rayon"]
[dev-dependencies]
proptest = { version = "1", default-features = false, features = ["std", "bit-set"] }
regex = "1.13.1"
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
criterion = { version = "0.8", features = ["html_reports"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.bench]
codegen-units = 1
[[bench]]
name = "operations"
harness = false