Debian Codegraph @

debian/rust-vendor/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 rust-version = "1.65"
15 name = "regex-automata"
16 version = "0.4.18"
17 authors = [
18 "The Rust Project Developers",
19 "Andrew Gallant <[email protected]>",
20 ]
21 build = false
22 include = [
23 "/CHANGELOG.md",
24 "/Cargo.toml",
25 "/LICENSE-MIT",
26 "/LICENSE-APACHE",
27 "/README.md",
28 "/UNICODE.md",
29 "bench/README.md",
30 "src/**/*.rs",
31 "testdata/**.toml",
32 "tests/**/*.rs",
33 "bench/**/*.rs",
34 "benches/**/*.rs",
35 "LICENSE-UNICODE",
36 "!/tests/fuzz/mod.rs",
37 ]
38 autolib = false
39 autobins = false
40 autoexamples = false
41 autotests = false
42 autobenches = false
43 description = "Automata construction and matching using regular expressions."
44 homepage = "https://github.com/rust-lang/regex/tree/master/regex-automata"
45 documentation = "https://docs.rs/regex-automata"
46 readme = "README.md"
47 keywords = [
48 "regex",
49 "dfa",
50 "automata",
51 "automaton",
52 "nfa",
53 ]
54 categories = ["text-processing"]
55 license = "MIT OR Apache-2.0"
56 repository = "https://github.com/rust-lang/regex"
57
58 [package.metadata.docs.rs]
59 all-features = true
60 rustdoc-args = [
61 "--cfg",
62 "docsrs_regex",
63 ]
64
65 [features]
66 alloc = []
67 default = [
68 "std",
69 "syntax",
70 "perf",
71 "unicode",
72 "meta",
73 "nfa",
74 "dfa",
75 "hybrid",
76 ]
77 dfa = [
78 "dfa-build",
79 "dfa-search",
80 "dfa-onepass",
81 ]
82 dfa-build = [
83 "nfa-thompson",
84 "dfa-search",
85 ]
86 dfa-onepass = ["nfa-thompson"]
87 dfa-search = []
88 hybrid = [
89 "alloc",
90 "nfa-thompson",
91 ]
92 internal-instrument = ["internal-instrument-pikevm"]
93 internal-instrument-pikevm = [
94 "logging",
95 "std",
96 ]
97 logging = [
98 "dep:log",
99 "aho-corasick?/logging",
100 "memchr?/logging",
101 ]
102 meta = [
103 "syntax",
104 "nfa-pikevm",
105 ]
106 nfa = [
107 "nfa-thompson",
108 "nfa-pikevm",
109 "nfa-backtrack",
110 ]
111 nfa-backtrack = ["nfa-thompson"]
112 nfa-pikevm = ["nfa-thompson"]
113 nfa-thompson = ["alloc"]
114 perf = [
115 "perf-inline",
116 "perf-literal",
117 ]
118 perf-inline = []
119 perf-literal = [
120 "perf-literal-substring",
121 "perf-literal-multisubstring",
122 ]
123 perf-literal-multisubstring = ["dep:aho-corasick"]
124 perf-literal-substring = [
125 "aho-corasick?/perf-literal",
126 "dep:memchr",
127 ]
128 std = [
129 "regex-syntax?/std",
130 "memchr?/std",
131 "aho-corasick?/std",
132 "alloc",
133 ]
134 syntax = [
135 "dep:regex-syntax",
136 "alloc",
137 ]
138 unicode = [
139 "unicode-age",
140 "unicode-bool",
141 "unicode-case",
142 "unicode-gencat",
143 "unicode-perl",
144 "unicode-script",
145 "unicode-segment",
146 "unicode-word-boundary",
147 "regex-syntax?/unicode",
148 ]
149 unicode-age = ["regex-syntax?/unicode-age"]
150 unicode-bool = ["regex-syntax?/unicode-bool"]
151 unicode-case = ["regex-syntax?/unicode-case"]
152 unicode-gencat = ["regex-syntax?/unicode-gencat"]
153 unicode-perl = ["regex-syntax?/unicode-perl"]
154 unicode-script = ["regex-syntax?/unicode-script"]
155 unicode-segment = ["regex-syntax?/unicode-segment"]
156 unicode-word-boundary = []
157
158 [lib]
159 name = "regex_automata"
160 path = "src/lib.rs"
161 bench = false
162
163 [[test]]
164 name = "integration"
165 path = "tests/lib.rs"
166
167 [dependencies.aho-corasick]
168 version = "1.0.0"
169 optional = true
170 default-features = false
171
172 [dependencies.log]
173 version = "0.4.14"
174 optional = true
175
176 [dependencies.memchr]
177 version = "2.6.0"
178 optional = true
179 default-features = false
180
181 [dependencies.regex-syntax]
182 version = "0.8.5"
183 optional = true
184 default-features = false
185
186 [dev-dependencies.anyhow]
187 version = "1.0.69"
188
189 [dev-dependencies.bstr]
190 version = "1.3.0"
191 features = ["std"]
192 default-features = false
193
194 [dev-dependencies.doc-comment]
195 version = "0.3.3"
196
197 [dev-dependencies.env_logger]
198 version = "0.9.3"
199 features = [
200 "atty",
201 "humantime",
202 "termcolor",
203 ]
204 default-features = false
205
206 [dev-dependencies.quickcheck]
207 version = "1.0.3"
208 default-features = false
209
210 [dev-dependencies.regex-test]
211 version = "0.1.0"
212
213 [lints.rust.unexpected_cfgs]
214 level = "allow"
215 priority = 0
216 check-cfg = ["cfg(docsrs_regex)"]