# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "eregex"
version = "0.1.2"
authors = ["eregex contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An advanced regular expression engine for Rust, inspired by mrab-regex"
documentation = "https://docs.rs/eregex"
readme = "README.md"
keywords = [
    "regex",
    "regular-expression",
    "text",
    "pattern",
    "fuzzy",
]
categories = ["text-processing"]
license = "Apache-2.0"
repository = "https://github.com/a5i/eregex"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
trace = []

[lib]
name = "eregex"
path = "src/lib.rs"

[[example]]
name = "demo"
path = "examples/demo.rs"

[[example]]
name = "gap_match"
path = "examples/gap_match.rs"

[[test]]
name = "api"
path = "tests/api.rs"

[[test]]
name = "charset"
path = "tests/charset.rs"

[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"

[[test]]
name = "escape"
path = "tests/escape.rs"

[[test]]
name = "ex_partial"
path = "tests/ex_partial.rs"

[[test]]
name = "flags"
path = "tests/flags.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "partial"
path = "tests/partial.rs"

[[test]]
name = "readme_examples"
path = "tests/readme_examples.rs"

[[test]]
name = "unicode"
path = "tests/unicode.rs"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
