| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.66" |
| 15 |
name = "fancy-regex" |
| 16 |
version = "0.19.2" |
| 17 |
authors = [ |
| 18 |
"Raph Levien <[email protected]>", |
| 19 |
"Robin Stocker <[email protected]>", |
| 20 |
"Keith Hall <[email protected]>", |
| 21 |
] |
| 22 |
build = false |
| 23 |
exclude = [ |
| 24 |
"/.github/*", |
| 25 |
"/Cargo.lock.msrv", |
| 26 |
] |
| 27 |
autolib = false |
| 28 |
autobins = false |
| 29 |
autoexamples = false |
| 30 |
autotests = false |
| 31 |
autobenches = false |
| 32 |
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." |
| 33 |
documentation = "https://docs.rs/fancy-regex" |
| 34 |
readme = "README.md" |
| 35 |
categories = ["text-processing"] |
| 36 |
license = "MIT" |
| 37 |
repository = "https://github.com/fancy-regex/fancy-regex" |
| 38 |
|
| 39 |
[features] |
| 40 |
default = [ |
| 41 |
"unicode", |
| 42 |
"perf", |
| 43 |
"std", |
| 44 |
"variable-lookbehinds", |
| 45 |
] |
| 46 |
leftmost_longest = [] |
| 47 |
perf = ["regex-automata/perf"] |
| 48 |
perf-dfa-full = ["regex-automata/dfa-build"] |
| 49 |
std = [ |
| 50 |
"regex-automata/std", |
| 51 |
"regex-syntax/std", |
| 52 |
"bit-set/std", |
| 53 |
] |
| 54 |
track_caller = [] |
| 55 |
unicode = [ |
| 56 |
"regex-automata/unicode", |
| 57 |
"regex-syntax/unicode", |
| 58 |
] |
| 59 |
variable-lookbehinds = ["regex-automata/dfa-search"] |
| 60 |
|
| 61 |
[lib] |
| 62 |
name = "fancy_regex" |
| 63 |
path = "src/lib.rs" |
| 64 |
|
| 65 |
[[example]] |
| 66 |
name = "compile_mem" |
| 67 |
path = "examples/compile_mem.rs" |
| 68 |
|
| 69 |
[[example]] |
| 70 |
name = "regexset_syntax_highlighting" |
| 71 |
path = "examples/regexset_syntax_highlighting.rs" |
| 72 |
|
| 73 |
[[example]] |
| 74 |
name = "toy" |
| 75 |
path = "examples/toy.rs" |
| 76 |
|
| 77 |
[[test]] |
| 78 |
name = "bytes" |
| 79 |
path = "tests/bytes/main.rs" |
| 80 |
|
| 81 |
[[test]] |
| 82 |
name = "captures" |
| 83 |
path = "tests/captures.rs" |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "finding" |
| 87 |
path = "tests/finding.rs" |
| 88 |
|
| 89 |
[[test]] |
| 90 |
name = "leftmost_longest" |
| 91 |
path = "tests/leftmost_longest.rs" |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "matching" |
| 95 |
path = "tests/matching.rs" |
| 96 |
|
| 97 |
[[test]] |
| 98 |
name = "oniguruma" |
| 99 |
path = "tests/oniguruma.rs" |
| 100 |
|
| 101 |
[[test]] |
| 102 |
name = "regex_options" |
| 103 |
path = "tests/regex_options.rs" |
| 104 |
|
| 105 |
[[test]] |
| 106 |
name = "replace" |
| 107 |
path = "tests/replace.rs" |
| 108 |
|
| 109 |
[[test]] |
| 110 |
name = "send_sync" |
| 111 |
path = "tests/send_sync.rs" |
| 112 |
|
| 113 |
[[test]] |
| 114 |
name = "splitting" |
| 115 |
path = "tests/splitting.rs" |
| 116 |
|
| 117 |
[[bench]] |
| 118 |
name = "bench" |
| 119 |
path = "benches/bench.rs" |
| 120 |
harness = false |
| 121 |
|
| 122 |
[[bench]] |
| 123 |
name = "compile" |
| 124 |
path = "benches/compile.rs" |
| 125 |
harness = false |
| 126 |
|
| 127 |
[[bench]] |
| 128 |
name = "regexset_vs_individual" |
| 129 |
path = "benches/regexset_vs_individual.rs" |
| 130 |
harness = false |
| 131 |
|
| 132 |
[dependencies.bit-set] |
| 133 |
version = "0.8" |
| 134 |
default-features = false |
| 135 |
|
| 136 |
[dependencies.regex-automata] |
| 137 |
version = "0.4.16" |
| 138 |
features = [ |
| 139 |
"alloc", |
| 140 |
"syntax", |
| 141 |
"meta", |
| 142 |
"nfa", |
| 143 |
"dfa-onepass", |
| 144 |
"dfa-search", |
| 145 |
"hybrid", |
| 146 |
] |
| 147 |
default-features = false |
| 148 |
|
| 149 |
[dependencies.regex-syntax] |
| 150 |
version = "0.8" |
| 151 |
default-features = false |
| 152 |
|
| 153 |
[dev-dependencies.criterion] |
| 154 |
version = "0.5" |
| 155 |
|
| 156 |
[dev-dependencies.matches] |
| 157 |
version = "0.1.10" |
| 158 |
|
| 159 |
[dev-dependencies.quickcheck] |
| 160 |
version = "1.0" |
| 161 |
|
| 162 |
[dev-dependencies.regex] |
| 163 |
version = "1.10" |