Debian Codegraph @

debian/rust-vendor/regex/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"
16 version = "1.13.1"
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 = """
44 An implementation of regular expressions for Rust. This implementation uses
45 finite automata and guarantees linear time matching on all inputs.
46 """
47 homepage = "https://github.com/rust-lang/regex"
48 documentation = "https://docs.rs/regex"
49 readme = "README.md"
50 categories = ["text-processing"]
51 license = "MIT OR Apache-2.0"
52 repository = "https://github.com/rust-lang/regex"
53
54 [package.metadata.docs.rs]
55 all-features = true
56 rustdoc-args = [
57 "--cfg",
58 "docsrs_regex",
59 ]
60
61 [features]
62 default = [
63 "std",
64 "perf",
65 "unicode",
66 "regex-syntax/default",
67 ]
68 logging = [
69 "aho-corasick?/logging",
70 "memchr?/logging",
71 "regex-automata/logging",
72 ]
73 pattern = []
74 perf = [
75 "perf-cache",
76 "perf-dfa",
77 "perf-onepass",
78 "perf-backtrack",
79 "perf-inline",
80 "perf-literal",
81 ]
82 perf-backtrack = ["regex-automata/nfa-backtrack"]
83 perf-cache = []
84 perf-dfa = ["regex-automata/hybrid"]
85 perf-dfa-full = [
86 "regex-automata/dfa-build",
87 "regex-automata/dfa-search",
88 ]
89 perf-inline = ["regex-automata/perf-inline"]
90 perf-literal = [
91 "dep:aho-corasick",
92 "dep:memchr",
93 "regex-automata/perf-literal",
94 ]
95 perf-onepass = ["regex-automata/dfa-onepass"]
96 std = [
97 "aho-corasick?/std",
98 "memchr?/std",
99 "regex-automata/std",
100 "regex-syntax/std",
101 ]
102 unicode = [
103 "unicode-age",
104 "unicode-bool",
105 "unicode-case",
106 "unicode-gencat",
107 "unicode-perl",
108 "unicode-script",
109 "unicode-segment",
110 "regex-automata/unicode",
111 "regex-syntax/unicode",
112 ]
113 unicode-age = [
114 "regex-automata/unicode-age",
115 "regex-syntax/unicode-age",
116 ]
117 unicode-bool = [
118 "regex-automata/unicode-bool",
119 "regex-syntax/unicode-bool",
120 ]
121 unicode-case = [
122 "regex-automata/unicode-case",
123 "regex-syntax/unicode-case",
124 ]
125 unicode-gencat = [
126 "regex-automata/unicode-gencat",
127 "regex-syntax/unicode-gencat",
128 ]
129 unicode-perl = [
130 "regex-automata/unicode-perl",
131 "regex-automata/unicode-word-boundary",
132 "regex-syntax/unicode-perl",
133 ]
134 unicode-script = [
135 "regex-automata/unicode-script",
136 "regex-syntax/unicode-script",
137 ]
138 unicode-segment = [
139 "regex-automata/unicode-segment",
140 "regex-syntax/unicode-segment",
141 ]
142 unstable = ["pattern"]
143 use_std = ["std"]
144
145 [lib]
146 name = "regex"
147 path = "src/lib.rs"
148
149 [[test]]
150 name = "integration"
151 path = "tests/lib.rs"
152
153 [dependencies.aho-corasick]
154 version = "1.0.0"
155 optional = true
156 default-features = false
157
158 [dependencies.memchr]
159 version = "2.6.0"
160 optional = true
161 default-features = false
162
163 [dependencies.regex-automata]
164 version = "0.4.16"
165 features = [
166 "alloc",
167 "syntax",
168 "meta",
169 "nfa-pikevm",
170 ]
171 default-features = false
172
173 [dependencies.regex-syntax]
174 version = "0.8.11"
175 default-features = false
176
177 [dev-dependencies.anyhow]
178 version = "1.0.69"
179
180 [dev-dependencies.doc-comment]
181 version = "0.3"
182
183 [dev-dependencies.env_logger]
184 version = "0.9.3"
185 features = [
186 "atty",
187 "humantime",
188 "termcolor",
189 ]
190 default-features = false
191
192 [dev-dependencies.quickcheck]
193 version = "1.0.3"
194 default-features = false
195
196 [dev-dependencies.regex-test]
197 version = "0.1.0"
198
199 [lints.rust.unexpected_cfgs]
200 level = "allow"
201 priority = 0
202 check-cfg = ["cfg(docsrs_regex)"]
203
204 [profile.bench]
205 debug = 2
206
207 [profile.dev]
208 opt-level = 3
209 debug = 2
210
211 [profile.release]
212 debug = 2
213
214 [profile.test]
215 opt-level = 3
216 debug = 2