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