1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_regex_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_regex_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libregex",
18    host_supported: true,
19    crate_name: "regex",
20    cargo_env_compat: true,
21    cargo_pkg_version: "1.7.3",
22    crate_root: "src/lib.rs",
23    edition: "2018",
24    features: [
25        "aho-corasick",
26        "default",
27        "memchr",
28        "perf",
29        "perf-cache",
30        "perf-dfa",
31        "perf-inline",
32        "perf-literal",
33        "std",
34        "unicode",
35        "unicode-age",
36        "unicode-bool",
37        "unicode-case",
38        "unicode-gencat",
39        "unicode-perl",
40        "unicode-script",
41        "unicode-segment",
42    ],
43    rustlibs: [
44        "libaho_corasick",
45        "libmemchr",
46        "libregex_syntax",
47    ],
48    apex_available: [
49        "//apex_available:anyapex",
50        "//apex_available:platform",
51    ],
52    product_available: true,
53    vendor_available: true,
54}
55
56rust_test {
57    name: "regex_test_src_lib",
58    host_supported: true,
59    crate_name: "regex",
60    cargo_env_compat: true,
61    cargo_pkg_version: "1.7.3",
62    crate_root: "src/lib.rs",
63    test_suites: ["general-tests"],
64    auto_gen_config: true,
65    test_options: {
66        unit_test: true,
67    },
68    edition: "2018",
69    features: [
70        "aho-corasick",
71        "default",
72        "memchr",
73        "perf",
74        "perf-cache",
75        "perf-dfa",
76        "perf-inline",
77        "perf-literal",
78        "std",
79        "unicode",
80        "unicode-age",
81        "unicode-bool",
82        "unicode-case",
83        "unicode-gencat",
84        "unicode-perl",
85        "unicode-script",
86        "unicode-segment",
87    ],
88    rustlibs: [
89        "libaho_corasick",
90        "liblazy_static",
91        "libmemchr",
92        "libquickcheck",
93        "librand",
94        "libregex_syntax",
95    ],
96}
97
98rust_test {
99    name: "regex_test_tests_test_backtrack",
100    host_supported: true,
101    crate_name: "backtrack",
102    cargo_env_compat: true,
103    cargo_pkg_version: "1.7.3",
104    crate_root: "tests/test_backtrack.rs",
105    test_suites: ["general-tests"],
106    auto_gen_config: true,
107    test_options: {
108        unit_test: true,
109    },
110    edition: "2018",
111    features: [
112        "aho-corasick",
113        "default",
114        "memchr",
115        "perf",
116        "perf-cache",
117        "perf-dfa",
118        "perf-inline",
119        "perf-literal",
120        "std",
121        "unicode",
122        "unicode-age",
123        "unicode-bool",
124        "unicode-case",
125        "unicode-gencat",
126        "unicode-perl",
127        "unicode-script",
128        "unicode-segment",
129    ],
130    rustlibs: [
131        "libaho_corasick",
132        "liblazy_static",
133        "libmemchr",
134        "libquickcheck",
135        "librand",
136        "libregex",
137        "libregex_syntax",
138    ],
139}
140
141rust_test {
142    name: "regex_test_tests_test_backtrack_bytes",
143    host_supported: true,
144    crate_name: "backtrack_bytes",
145    cargo_env_compat: true,
146    cargo_pkg_version: "1.7.3",
147    crate_root: "tests/test_backtrack_bytes.rs",
148    test_suites: ["general-tests"],
149    auto_gen_config: true,
150    test_options: {
151        unit_test: true,
152    },
153    edition: "2018",
154    features: [
155        "aho-corasick",
156        "default",
157        "memchr",
158        "perf",
159        "perf-cache",
160        "perf-dfa",
161        "perf-inline",
162        "perf-literal",
163        "std",
164        "unicode",
165        "unicode-age",
166        "unicode-bool",
167        "unicode-case",
168        "unicode-gencat",
169        "unicode-perl",
170        "unicode-script",
171        "unicode-segment",
172    ],
173    rustlibs: [
174        "libaho_corasick",
175        "liblazy_static",
176        "libmemchr",
177        "libquickcheck",
178        "librand",
179        "libregex",
180        "libregex_syntax",
181    ],
182}
183
184rust_test {
185    name: "regex_test_tests_test_backtrack_utf8bytes",
186    host_supported: true,
187    crate_name: "backtrack_utf8bytes",
188    cargo_env_compat: true,
189    cargo_pkg_version: "1.7.3",
190    crate_root: "tests/test_backtrack_utf8bytes.rs",
191    test_suites: ["general-tests"],
192    auto_gen_config: true,
193    test_options: {
194        unit_test: true,
195    },
196    edition: "2018",
197    features: [
198        "aho-corasick",
199        "default",
200        "memchr",
201        "perf",
202        "perf-cache",
203        "perf-dfa",
204        "perf-inline",
205        "perf-literal",
206        "std",
207        "unicode",
208        "unicode-age",
209        "unicode-bool",
210        "unicode-case",
211        "unicode-gencat",
212        "unicode-perl",
213        "unicode-script",
214        "unicode-segment",
215    ],
216    rustlibs: [
217        "libaho_corasick",
218        "liblazy_static",
219        "libmemchr",
220        "libquickcheck",
221        "librand",
222        "libregex",
223        "libregex_syntax",
224    ],
225}
226
227rust_test {
228    name: "regex_test_tests_test_crates_regex",
229    host_supported: true,
230    crate_name: "crates_regex",
231    cargo_env_compat: true,
232    cargo_pkg_version: "1.7.3",
233    crate_root: "tests/test_crates_regex.rs",
234    test_suites: ["general-tests"],
235    auto_gen_config: true,
236    test_options: {
237        unit_test: true,
238    },
239    edition: "2018",
240    features: [
241        "aho-corasick",
242        "default",
243        "memchr",
244        "perf",
245        "perf-cache",
246        "perf-dfa",
247        "perf-inline",
248        "perf-literal",
249        "std",
250        "unicode",
251        "unicode-age",
252        "unicode-bool",
253        "unicode-case",
254        "unicode-gencat",
255        "unicode-perl",
256        "unicode-script",
257        "unicode-segment",
258    ],
259    rustlibs: [
260        "libaho_corasick",
261        "liblazy_static",
262        "libmemchr",
263        "libquickcheck",
264        "librand",
265        "libregex",
266        "libregex_syntax",
267    ],
268}
269
270rust_test {
271    name: "regex_test_tests_test_default",
272    host_supported: true,
273    crate_name: "default",
274    cargo_env_compat: true,
275    cargo_pkg_version: "1.7.3",
276    crate_root: "tests/test_default.rs",
277    test_suites: ["general-tests"],
278    auto_gen_config: true,
279    test_options: {
280        unit_test: true,
281    },
282    edition: "2018",
283    features: [
284        "aho-corasick",
285        "default",
286        "memchr",
287        "perf",
288        "perf-cache",
289        "perf-dfa",
290        "perf-inline",
291        "perf-literal",
292        "std",
293        "unicode",
294        "unicode-age",
295        "unicode-bool",
296        "unicode-case",
297        "unicode-gencat",
298        "unicode-perl",
299        "unicode-script",
300        "unicode-segment",
301    ],
302    rustlibs: [
303        "libaho_corasick",
304        "liblazy_static",
305        "libmemchr",
306        "libquickcheck",
307        "librand",
308        "libregex",
309        "libregex_syntax",
310    ],
311}
312
313rust_test {
314    name: "regex_test_tests_test_default_bytes",
315    host_supported: true,
316    crate_name: "default_bytes",
317    cargo_env_compat: true,
318    cargo_pkg_version: "1.7.3",
319    crate_root: "tests/test_default_bytes.rs",
320    test_suites: ["general-tests"],
321    auto_gen_config: true,
322    test_options: {
323        unit_test: true,
324    },
325    edition: "2018",
326    features: [
327        "aho-corasick",
328        "default",
329        "memchr",
330        "perf",
331        "perf-cache",
332        "perf-dfa",
333        "perf-inline",
334        "perf-literal",
335        "std",
336        "unicode",
337        "unicode-age",
338        "unicode-bool",
339        "unicode-case",
340        "unicode-gencat",
341        "unicode-perl",
342        "unicode-script",
343        "unicode-segment",
344    ],
345    rustlibs: [
346        "libaho_corasick",
347        "liblazy_static",
348        "libmemchr",
349        "libquickcheck",
350        "librand",
351        "libregex",
352        "libregex_syntax",
353    ],
354}
355
356rust_test {
357    name: "regex_test_tests_test_nfa",
358    host_supported: true,
359    crate_name: "nfa",
360    cargo_env_compat: true,
361    cargo_pkg_version: "1.7.3",
362    crate_root: "tests/test_nfa.rs",
363    test_suites: ["general-tests"],
364    auto_gen_config: true,
365    test_options: {
366        unit_test: true,
367    },
368    edition: "2018",
369    features: [
370        "aho-corasick",
371        "default",
372        "memchr",
373        "perf",
374        "perf-cache",
375        "perf-dfa",
376        "perf-inline",
377        "perf-literal",
378        "std",
379        "unicode",
380        "unicode-age",
381        "unicode-bool",
382        "unicode-case",
383        "unicode-gencat",
384        "unicode-perl",
385        "unicode-script",
386        "unicode-segment",
387    ],
388    rustlibs: [
389        "libaho_corasick",
390        "liblazy_static",
391        "libmemchr",
392        "libquickcheck",
393        "librand",
394        "libregex",
395        "libregex_syntax",
396    ],
397}
398
399rust_test {
400    name: "regex_test_tests_test_nfa_bytes",
401    host_supported: true,
402    crate_name: "nfa_bytes",
403    cargo_env_compat: true,
404    cargo_pkg_version: "1.7.3",
405    crate_root: "tests/test_nfa_bytes.rs",
406    test_suites: ["general-tests"],
407    auto_gen_config: true,
408    test_options: {
409        unit_test: true,
410    },
411    edition: "2018",
412    features: [
413        "aho-corasick",
414        "default",
415        "memchr",
416        "perf",
417        "perf-cache",
418        "perf-dfa",
419        "perf-inline",
420        "perf-literal",
421        "std",
422        "unicode",
423        "unicode-age",
424        "unicode-bool",
425        "unicode-case",
426        "unicode-gencat",
427        "unicode-perl",
428        "unicode-script",
429        "unicode-segment",
430    ],
431    rustlibs: [
432        "libaho_corasick",
433        "liblazy_static",
434        "libmemchr",
435        "libquickcheck",
436        "librand",
437        "libregex",
438        "libregex_syntax",
439    ],
440}
441
442rust_test {
443    name: "regex_test_tests_test_nfa_utf8bytes",
444    host_supported: true,
445    crate_name: "nfa_utf8bytes",
446    cargo_env_compat: true,
447    cargo_pkg_version: "1.7.3",
448    crate_root: "tests/test_nfa_utf8bytes.rs",
449    test_suites: ["general-tests"],
450    auto_gen_config: true,
451    test_options: {
452        unit_test: true,
453    },
454    edition: "2018",
455    features: [
456        "aho-corasick",
457        "default",
458        "memchr",
459        "perf",
460        "perf-cache",
461        "perf-dfa",
462        "perf-inline",
463        "perf-literal",
464        "std",
465        "unicode",
466        "unicode-age",
467        "unicode-bool",
468        "unicode-case",
469        "unicode-gencat",
470        "unicode-perl",
471        "unicode-script",
472        "unicode-segment",
473    ],
474    rustlibs: [
475        "libaho_corasick",
476        "liblazy_static",
477        "libmemchr",
478        "libquickcheck",
479        "librand",
480        "libregex",
481        "libregex_syntax",
482    ],
483}
484