Debian Codegraph @

third_party/rust/regex-automata/Cargo.toml

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