Debian Codegraph @

debian/missing-sources/regex-automata/Cargo.toml

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