[package]
edition = "2018"
rust-version = "1.66"
name = "fancy-regex"
version = "0.19.2"
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",
]
leftmost_longest = []
perf = ["regex-automata/perf"]
perf-dfa-full = ["regex-automata/dfa-build"]
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 = "compile_mem"
path = "examples/compile_mem.rs"
[[example]]
name = "regexset_syntax_highlighting"
path = "examples/regexset_syntax_highlighting.rs"
[[example]]
name = "toy"
path = "examples/toy.rs"
[[test]]
name = "bytes"
path = "tests/bytes/main.rs"
[[test]]
name = "captures"
path = "tests/captures.rs"
[[test]]
name = "finding"
path = "tests/finding.rs"
[[test]]
name = "leftmost_longest"
path = "tests/leftmost_longest.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
[[bench]]
name = "compile"
path = "benches/compile.rs"
harness = false
[[bench]]
name = "regexset_vs_individual"
path = "benches/regexset_vs_individual.rs"
harness = false
[dependencies.bit-set]
version = "0.8"
default-features = false
[dependencies.regex-automata]
version = "0.4.16"
features = [
"alloc",
"syntax",
"meta",
"nfa",
"dfa-onepass",
"dfa-search",
"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"