# 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 = "2018"
rust-version = "1.66"
name = "fancy-regex"
version = "0.18.0"
authors = [
    "Raph Levien <raph@google.com>",
    "Robin Stocker <robin@nibor.org>",
    "Keith Hall <keith.hall@available.systems>",
]
build = false
exclude = [
    "/.github/*",
    "/Cargo.lock.msrv",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An implementation of regexes, supporting a relatively rich set of features, including backreferences and look-around. Aims to be compatible with Oniguruma syntax when the relevant flag is set."
documentation = "https://docs.rs/fancy-regex"
readme = "README.md"
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/fancy-regex/fancy-regex"

[features]
default = [
    "unicode",
    "perf",
    "std",
    "variable-lookbehinds",
]
perf = ["regex-automata/perf"]
std = [
    "regex-automata/std",
    "regex-syntax/std",
    "bit-set/std",
]
track_caller = []
unicode = [
    "regex-automata/unicode",
    "regex-syntax/unicode",
]
variable-lookbehinds = ["regex-automata/dfa-search"]

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies.bit-set]
version = "0.8"
default-features = false

[dependencies.regex-automata]
version = "0.4.14"
features = [
    "alloc",
    "syntax",
    "meta",
    "nfa",
    "dfa",
    "hybrid",
]
default-features = false

[dependencies.regex-syntax]
version = "0.8"
default-features = false

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.matches]
version = "0.1.10"

[dev-dependencies.quickcheck]
version = "1.0"

[dev-dependencies.regex]
version = "1.10"
