regexsolver 1.0.2

High-performance Rust library for building, combining, and analyzing regular expressions and finite automata
Documentation
[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"
# An allowlist rather than a denylist, so a new directory is not published by
# accident. `/assets` is left out: the README links its image by URL.
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"
# The feature flag (ucd-*) has to match the Unicode version `regex-syntax` uses.
regex-charclass = { version = "1.2.0", features = ["ucd-16"] }
bit-set = "0.11.1"
indexmap = "2.13.0"

# `wasm` has no threads: `rayon` would build, but only as its single-thread
# fallback. The `parallel` feature stays enabled there and compiles to the same
# sequential code as `--no-default-features`, minus the dependency.
[target.'cfg(not(target_family = "wasm"))'.dependencies]
rayon = { version = "1.10.0", optional = true }

# `ahash` draws its hash keys from `getrandom`, which `wasm32-unknown-unknown` has
# no backend for; there it falls back to `compile-time-rng`, drawing them at build
# time instead. The keys being fixed per build makes it in theory vulnerable to
# HashDoS, acceptable as long as it does not serve untrusted data at scale.
[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