| 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 = "2021" |
| 14 |
rust-version = "1.65" |
| 15 |
name = "regex-automata" |
| 16 |
version = "0.4.6" |
| 17 |
authors = [ |
| 18 |
"The Rust Project Developers", |
| 19 |
"Andrew Gallant <[email protected]>", |
| 20 |
] |
| 21 |
autoexamples = false |
| 22 |
description = "Automata construction and matching using regular expressions." |
| 23 |
documentation = "https://docs.rs/regex-automata" |
| 24 |
readme = "README.md" |
| 25 |
keywords = [ |
| 26 |
"regex", |
| 27 |
"dfa", |
| 28 |
"automata", |
| 29 |
"automaton", |
| 30 |
"nfa", |
| 31 |
] |
| 32 |
categories = ["text-processing"] |
| 33 |
license = "MIT OR Apache-2.0" |
| 34 |
repository = "https://github.com/rust-lang/regex/tree/master/regex-automata" |
| 35 |
|
| 36 |
[lib] |
| 37 |
bench = false |
| 38 |
|
| 39 |
[[test]] |
| 40 |
name = "integration" |
| 41 |
path = "tests/lib.rs" |
| 42 |
|
| 43 |
[dependencies.aho-corasick] |
| 44 |
version = "1.0.0" |
| 45 |
optional = true |
| 46 |
default-features = false |
| 47 |
|
| 48 |
[dependencies.log] |
| 49 |
version = "0.4.14" |
| 50 |
optional = true |
| 51 |
|
| 52 |
[dependencies.memchr] |
| 53 |
version = "2.6.0" |
| 54 |
optional = true |
| 55 |
default-features = false |
| 56 |
|
| 57 |
[dependencies.regex-syntax] |
| 58 |
version = "0.8.2" |
| 59 |
optional = true |
| 60 |
default-features = false |
| 61 |
|
| 62 |
[dev-dependencies.anyhow] |
| 63 |
version = "1.0.69" |
| 64 |
|
| 65 |
[dev-dependencies.bstr] |
| 66 |
version = "1.3.0" |
| 67 |
features = ["std"] |
| 68 |
default-features = false |
| 69 |
|
| 70 |
[dev-dependencies.doc-comment] |
| 71 |
version = "0.3.3" |
| 72 |
|
| 73 |
[dev-dependencies.env_logger] |
| 74 |
version = "0.9.3" |
| 75 |
features = [ |
| 76 |
"atty", |
| 77 |
"humantime", |
| 78 |
"termcolor", |
| 79 |
] |
| 80 |
default-features = false |
| 81 |
|
| 82 |
[dev-dependencies.quickcheck] |
| 83 |
version = "1.0.3" |
| 84 |
default-features = false |
| 85 |
|
| 86 |
[dev-dependencies.regex-test] |
| 87 |
version = "0.1.0" |
| 88 |
|
| 89 |
[features] |
| 90 |
alloc = [] |
| 91 |
default = [ |
| 92 |
"std", |
| 93 |
"syntax", |
| 94 |
"perf", |
| 95 |
"unicode", |
| 96 |
"meta", |
| 97 |
"nfa", |
| 98 |
"dfa", |
| 99 |
"hybrid", |
| 100 |
] |
| 101 |
dfa = [ |
| 102 |
"dfa-build", |
| 103 |
"dfa-search", |
| 104 |
"dfa-onepass", |
| 105 |
] |
| 106 |
dfa-build = [ |
| 107 |
"nfa-thompson", |
| 108 |
"dfa-search", |
| 109 |
] |
| 110 |
dfa-onepass = ["nfa-thompson"] |
| 111 |
dfa-search = [] |
| 112 |
hybrid = [ |
| 113 |
"alloc", |
| 114 |
"nfa-thompson", |
| 115 |
] |
| 116 |
internal-instrument = ["internal-instrument-pikevm"] |
| 117 |
internal-instrument-pikevm = [ |
| 118 |
"logging", |
| 119 |
"std", |
| 120 |
] |
| 121 |
logging = [ |
| 122 |
"dep:log", |
| 123 |
"aho-corasick?/logging", |
| 124 |
"memchr?/logging", |
| 125 |
] |
| 126 |
meta = [ |
| 127 |
"syntax", |
| 128 |
"nfa-pikevm", |
| 129 |
] |
| 130 |
nfa = [ |
| 131 |
"nfa-thompson", |
| 132 |
"nfa-pikevm", |
| 133 |
"nfa-backtrack", |
| 134 |
] |
| 135 |
nfa-backtrack = ["nfa-thompson"] |
| 136 |
nfa-pikevm = ["nfa-thompson"] |
| 137 |
nfa-thompson = ["alloc"] |
| 138 |
perf = [ |
| 139 |
"perf-inline", |
| 140 |
"perf-literal", |
| 141 |
] |
| 142 |
perf-inline = [] |
| 143 |
perf-literal = [ |
| 144 |
"perf-literal-substring", |
| 145 |
"perf-literal-multisubstring", |
| 146 |
] |
| 147 |
perf-literal-multisubstring = [ |
| 148 |
"std", |
| 149 |
"dep:aho-corasick", |
| 150 |
] |
| 151 |
perf-literal-substring = [ |
| 152 |
"aho-corasick?/perf-literal", |
| 153 |
"dep:memchr", |
| 154 |
] |
| 155 |
std = [ |
| 156 |
"regex-syntax?/std", |
| 157 |
"memchr?/std", |
| 158 |
"aho-corasick?/std", |
| 159 |
"alloc", |
| 160 |
] |
| 161 |
syntax = [ |
| 162 |
"dep:regex-syntax", |
| 163 |
"alloc", |
| 164 |
] |
| 165 |
unicode = [ |
| 166 |
"unicode-age", |
| 167 |
"unicode-bool", |
| 168 |
"unicode-case", |
| 169 |
"unicode-gencat", |
| 170 |
"unicode-perl", |
| 171 |
"unicode-script", |
| 172 |
"unicode-segment", |
| 173 |
"unicode-word-boundary", |
| 174 |
"regex-syntax?/unicode", |
| 175 |
] |
| 176 |
unicode-age = ["regex-syntax?/unicode-age"] |
| 177 |
unicode-bool = ["regex-syntax?/unicode-bool"] |
| 178 |
unicode-case = ["regex-syntax?/unicode-case"] |
| 179 |
unicode-gencat = ["regex-syntax?/unicode-gencat"] |
| 180 |
unicode-perl = ["regex-syntax?/unicode-perl"] |
| 181 |
unicode-script = ["regex-syntax?/unicode-script"] |
| 182 |
unicode-segment = ["regex-syntax?/unicode-segment"] |
| 183 |
unicode-word-boundary = [] |