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_darling_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_darling_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-MIT"], 13 license_text: ["LICENSE"], 14} 15 16rust_test_host { 17 name: "darling_test_tests_accrue_errors", 18 host_cross_supported: false, 19 crate_name: "accrue_errors", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.20.10", 22 crate_root: "tests/accrue_errors.rs", 23 test_suites: ["general-tests"], 24 auto_gen_config: true, 25 test_options: { 26 unit_test: true, 27 }, 28 edition: "2021", 29 rustlibs: [ 30 "libdarling", 31 "libdarling_core", 32 "libproc_macro2", 33 "libquote", 34 "libsyn", 35 ], 36 proc_macros: ["libdarling_macro"], 37} 38 39rust_test_host { 40 name: "darling_test_tests_attrs_with", 41 host_cross_supported: false, 42 crate_name: "attrs_with", 43 cargo_env_compat: true, 44 cargo_pkg_version: "0.20.10", 45 crate_root: "tests/attrs_with.rs", 46 test_suites: ["general-tests"], 47 auto_gen_config: true, 48 test_options: { 49 unit_test: true, 50 }, 51 edition: "2021", 52 rustlibs: [ 53 "libdarling", 54 "libdarling_core", 55 "libproc_macro2", 56 "libquote", 57 "libsyn", 58 ], 59 proc_macros: ["libdarling_macro"], 60} 61 62rust_test_host { 63 name: "darling_test_tests_computed_bound", 64 host_cross_supported: false, 65 crate_name: "computed_bound", 66 cargo_env_compat: true, 67 cargo_pkg_version: "0.20.10", 68 crate_root: "tests/computed_bound.rs", 69 test_suites: ["general-tests"], 70 auto_gen_config: true, 71 test_options: { 72 unit_test: true, 73 }, 74 edition: "2021", 75 rustlibs: [ 76 "libdarling", 77 "libdarling_core", 78 "libproc_macro2", 79 "libquote", 80 "libsyn", 81 ], 82 proc_macros: ["libdarling_macro"], 83} 84 85rust_test_host { 86 name: "darling_test_tests_custom_bound", 87 host_cross_supported: false, 88 crate_name: "custom_bound", 89 cargo_env_compat: true, 90 cargo_pkg_version: "0.20.10", 91 crate_root: "tests/custom_bound.rs", 92 test_suites: ["general-tests"], 93 auto_gen_config: true, 94 test_options: { 95 unit_test: true, 96 }, 97 edition: "2021", 98 rustlibs: [ 99 "libdarling", 100 "libdarling_core", 101 "libproc_macro2", 102 "libquote", 103 "libsyn", 104 ], 105 proc_macros: ["libdarling_macro"], 106} 107 108rust_test_host { 109 name: "darling_test_tests_defaults", 110 host_cross_supported: false, 111 crate_name: "defaults", 112 cargo_env_compat: true, 113 cargo_pkg_version: "0.20.10", 114 crate_root: "tests/defaults.rs", 115 test_suites: ["general-tests"], 116 auto_gen_config: true, 117 test_options: { 118 unit_test: true, 119 }, 120 edition: "2021", 121 rustlibs: [ 122 "libdarling", 123 "libdarling_core", 124 "libproc_macro2", 125 "libquote", 126 "libsyn", 127 ], 128 proc_macros: ["libdarling_macro"], 129} 130 131rust_test_host { 132 name: "darling_test_tests_enums_default", 133 host_cross_supported: false, 134 crate_name: "enums_default", 135 cargo_env_compat: true, 136 cargo_pkg_version: "0.20.10", 137 crate_root: "tests/enums_default.rs", 138 test_suites: ["general-tests"], 139 auto_gen_config: true, 140 test_options: { 141 unit_test: true, 142 }, 143 edition: "2021", 144 rustlibs: [ 145 "libdarling", 146 "libdarling_core", 147 "libproc_macro2", 148 "libquote", 149 "libsyn", 150 ], 151 proc_macros: ["libdarling_macro"], 152} 153 154rust_test_host { 155 name: "darling_test_tests_enums_newtype", 156 host_cross_supported: false, 157 crate_name: "enums_newtype", 158 cargo_env_compat: true, 159 cargo_pkg_version: "0.20.10", 160 crate_root: "tests/enums_newtype.rs", 161 test_suites: ["general-tests"], 162 auto_gen_config: true, 163 test_options: { 164 unit_test: true, 165 }, 166 edition: "2021", 167 rustlibs: [ 168 "libdarling", 169 "libdarling_core", 170 "libproc_macro2", 171 "libquote", 172 "libsyn", 173 ], 174 proc_macros: ["libdarling_macro"], 175} 176 177rust_test_host { 178 name: "darling_test_tests_enums_struct", 179 host_cross_supported: false, 180 crate_name: "enums_struct", 181 cargo_env_compat: true, 182 cargo_pkg_version: "0.20.10", 183 crate_root: "tests/enums_struct.rs", 184 test_suites: ["general-tests"], 185 auto_gen_config: true, 186 test_options: { 187 unit_test: true, 188 }, 189 edition: "2021", 190 rustlibs: [ 191 "libdarling", 192 "libdarling_core", 193 "libproc_macro2", 194 "libquote", 195 "libsyn", 196 ], 197 proc_macros: ["libdarling_macro"], 198} 199 200rust_test_host { 201 name: "darling_test_tests_enums_unit", 202 host_cross_supported: false, 203 crate_name: "enums_unit", 204 cargo_env_compat: true, 205 cargo_pkg_version: "0.20.10", 206 crate_root: "tests/enums_unit.rs", 207 test_suites: ["general-tests"], 208 auto_gen_config: true, 209 test_options: { 210 unit_test: true, 211 }, 212 edition: "2021", 213 rustlibs: [ 214 "libdarling", 215 "libdarling_core", 216 "libproc_macro2", 217 "libquote", 218 "libsyn", 219 ], 220 proc_macros: ["libdarling_macro"], 221} 222 223rust_test_host { 224 name: "darling_test_tests_error", 225 host_cross_supported: false, 226 crate_name: "error", 227 cargo_env_compat: true, 228 cargo_pkg_version: "0.20.10", 229 crate_root: "tests/error.rs", 230 test_suites: ["general-tests"], 231 auto_gen_config: true, 232 test_options: { 233 unit_test: true, 234 }, 235 edition: "2021", 236 rustlibs: [ 237 "libdarling", 238 "libdarling_core", 239 "libproc_macro2", 240 "libquote", 241 "libsyn", 242 ], 243 proc_macros: ["libdarling_macro"], 244} 245 246rust_test_host { 247 name: "darling_test_tests_flatten", 248 host_cross_supported: false, 249 crate_name: "flatten", 250 cargo_env_compat: true, 251 cargo_pkg_version: "0.20.10", 252 crate_root: "tests/flatten.rs", 253 test_suites: ["general-tests"], 254 auto_gen_config: true, 255 test_options: { 256 unit_test: true, 257 }, 258 edition: "2021", 259 rustlibs: [ 260 "libdarling", 261 "libdarling_core", 262 "libproc_macro2", 263 "libquote", 264 "libsyn", 265 ], 266 proc_macros: ["libdarling_macro"], 267} 268 269rust_test_host { 270 name: "darling_test_tests_flatten_error_accumulation", 271 host_cross_supported: false, 272 crate_name: "flatten_error_accumulation", 273 cargo_env_compat: true, 274 cargo_pkg_version: "0.20.10", 275 crate_root: "tests/flatten_error_accumulation.rs", 276 test_suites: ["general-tests"], 277 auto_gen_config: true, 278 test_options: { 279 unit_test: true, 280 }, 281 edition: "2021", 282 rustlibs: [ 283 "libdarling", 284 "libdarling_core", 285 "libproc_macro2", 286 "libquote", 287 "libsyn", 288 ], 289 proc_macros: ["libdarling_macro"], 290} 291 292rust_test_host { 293 name: "darling_test_tests_flatten_from_field", 294 host_cross_supported: false, 295 crate_name: "flatten_from_field", 296 cargo_env_compat: true, 297 cargo_pkg_version: "0.20.10", 298 crate_root: "tests/flatten_from_field.rs", 299 test_suites: ["general-tests"], 300 auto_gen_config: true, 301 test_options: { 302 unit_test: true, 303 }, 304 edition: "2021", 305 rustlibs: [ 306 "libdarling", 307 "libdarling_core", 308 "libproc_macro2", 309 "libquote", 310 "libsyn", 311 ], 312 proc_macros: ["libdarling_macro"], 313} 314 315rust_test_host { 316 name: "darling_test_tests_forward_attrs_to_from_attributes", 317 host_cross_supported: false, 318 crate_name: "forward_attrs_to_from_attributes", 319 cargo_env_compat: true, 320 cargo_pkg_version: "0.20.10", 321 crate_root: "tests/forward_attrs_to_from_attributes.rs", 322 test_suites: ["general-tests"], 323 auto_gen_config: true, 324 test_options: { 325 unit_test: true, 326 }, 327 edition: "2021", 328 rustlibs: [ 329 "libdarling", 330 "libdarling_core", 331 "libproc_macro2", 332 "libquote", 333 "libsyn", 334 ], 335 proc_macros: ["libdarling_macro"], 336} 337 338rust_test_host { 339 name: "darling_test_tests_from_generics", 340 host_cross_supported: false, 341 crate_name: "from_generics", 342 cargo_env_compat: true, 343 cargo_pkg_version: "0.20.10", 344 crate_root: "tests/from_generics.rs", 345 test_suites: ["general-tests"], 346 auto_gen_config: true, 347 test_options: { 348 unit_test: true, 349 }, 350 edition: "2021", 351 rustlibs: [ 352 "libdarling", 353 "libdarling_core", 354 "libproc_macro2", 355 "libquote", 356 "libsyn", 357 ], 358 proc_macros: ["libdarling_macro"], 359} 360 361rust_test_host { 362 name: "darling_test_tests_from_meta", 363 host_cross_supported: false, 364 crate_name: "from_meta", 365 cargo_env_compat: true, 366 cargo_pkg_version: "0.20.10", 367 crate_root: "tests/from_meta.rs", 368 test_suites: ["general-tests"], 369 auto_gen_config: true, 370 test_options: { 371 unit_test: true, 372 }, 373 edition: "2021", 374 rustlibs: [ 375 "libdarling", 376 "libdarling_core", 377 "libproc_macro2", 378 "libquote", 379 "libsyn", 380 ], 381 proc_macros: ["libdarling_macro"], 382} 383 384rust_test_host { 385 name: "darling_test_tests_from_type_param", 386 host_cross_supported: false, 387 crate_name: "from_type_param", 388 cargo_env_compat: true, 389 cargo_pkg_version: "0.20.10", 390 crate_root: "tests/from_type_param.rs", 391 test_suites: ["general-tests"], 392 auto_gen_config: true, 393 test_options: { 394 unit_test: true, 395 }, 396 edition: "2021", 397 rustlibs: [ 398 "libdarling", 399 "libdarling_core", 400 "libproc_macro2", 401 "libquote", 402 "libsyn", 403 ], 404 proc_macros: ["libdarling_macro"], 405} 406 407rust_test_host { 408 name: "darling_test_tests_from_type_param_default", 409 host_cross_supported: false, 410 crate_name: "from_type_param_default", 411 cargo_env_compat: true, 412 cargo_pkg_version: "0.20.10", 413 crate_root: "tests/from_type_param_default.rs", 414 test_suites: ["general-tests"], 415 auto_gen_config: true, 416 test_options: { 417 unit_test: true, 418 }, 419 edition: "2021", 420 rustlibs: [ 421 "libdarling", 422 "libdarling_core", 423 "libproc_macro2", 424 "libquote", 425 "libsyn", 426 ], 427 proc_macros: ["libdarling_macro"], 428} 429 430rust_test_host { 431 name: "darling_test_tests_from_variant", 432 host_cross_supported: false, 433 crate_name: "from_variant", 434 cargo_env_compat: true, 435 cargo_pkg_version: "0.20.10", 436 crate_root: "tests/from_variant.rs", 437 test_suites: ["general-tests"], 438 auto_gen_config: true, 439 test_options: { 440 unit_test: true, 441 }, 442 edition: "2021", 443 rustlibs: [ 444 "libdarling", 445 "libdarling_core", 446 "libproc_macro2", 447 "libquote", 448 "libsyn", 449 ], 450 proc_macros: ["libdarling_macro"], 451} 452 453rust_test_host { 454 name: "darling_test_tests_generics", 455 host_cross_supported: false, 456 crate_name: "generics", 457 cargo_env_compat: true, 458 cargo_pkg_version: "0.20.10", 459 crate_root: "tests/generics.rs", 460 test_suites: ["general-tests"], 461 auto_gen_config: true, 462 test_options: { 463 unit_test: true, 464 }, 465 edition: "2021", 466 rustlibs: [ 467 "libdarling", 468 "libdarling_core", 469 "libproc_macro2", 470 "libquote", 471 "libsyn", 472 ], 473 proc_macros: ["libdarling_macro"], 474} 475 476rust_test_host { 477 name: "darling_test_tests_happy_path", 478 host_cross_supported: false, 479 crate_name: "happy_path", 480 cargo_env_compat: true, 481 cargo_pkg_version: "0.20.10", 482 crate_root: "tests/happy_path.rs", 483 test_suites: ["general-tests"], 484 auto_gen_config: true, 485 test_options: { 486 unit_test: true, 487 }, 488 edition: "2021", 489 rustlibs: [ 490 "libdarling", 491 "libdarling_core", 492 "libproc_macro2", 493 "libquote", 494 "libsyn", 495 ], 496 proc_macros: ["libdarling_macro"], 497} 498 499rust_test_host { 500 name: "darling_test_tests_hash_map", 501 host_cross_supported: false, 502 crate_name: "hash_map", 503 cargo_env_compat: true, 504 cargo_pkg_version: "0.20.10", 505 crate_root: "tests/hash_map.rs", 506 test_suites: ["general-tests"], 507 auto_gen_config: true, 508 test_options: { 509 unit_test: true, 510 }, 511 edition: "2021", 512 rustlibs: [ 513 "libdarling", 514 "libdarling_core", 515 "libproc_macro2", 516 "libquote", 517 "libsyn", 518 ], 519 proc_macros: ["libdarling_macro"], 520} 521 522rust_test_host { 523 name: "darling_test_tests_multiple", 524 host_cross_supported: false, 525 crate_name: "multiple", 526 cargo_env_compat: true, 527 cargo_pkg_version: "0.20.10", 528 crate_root: "tests/multiple.rs", 529 test_suites: ["general-tests"], 530 auto_gen_config: true, 531 test_options: { 532 unit_test: true, 533 }, 534 edition: "2021", 535 rustlibs: [ 536 "libdarling", 537 "libdarling_core", 538 "libproc_macro2", 539 "libquote", 540 "libsyn", 541 ], 542 proc_macros: ["libdarling_macro"], 543} 544 545rust_test_host { 546 name: "darling_test_tests_newtype", 547 host_cross_supported: false, 548 crate_name: "newtype", 549 cargo_env_compat: true, 550 cargo_pkg_version: "0.20.10", 551 crate_root: "tests/newtype.rs", 552 test_suites: ["general-tests"], 553 auto_gen_config: true, 554 test_options: { 555 unit_test: true, 556 }, 557 edition: "2021", 558 rustlibs: [ 559 "libdarling", 560 "libdarling_core", 561 "libproc_macro2", 562 "libquote", 563 "libsyn", 564 ], 565 proc_macros: ["libdarling_macro"], 566} 567 568rust_test_host { 569 name: "darling_test_tests_skip", 570 host_cross_supported: false, 571 crate_name: "skip", 572 cargo_env_compat: true, 573 cargo_pkg_version: "0.20.10", 574 crate_root: "tests/skip.rs", 575 test_suites: ["general-tests"], 576 auto_gen_config: true, 577 test_options: { 578 unit_test: true, 579 }, 580 edition: "2021", 581 rustlibs: [ 582 "libdarling", 583 "libdarling_core", 584 "libproc_macro2", 585 "libquote", 586 "libsyn", 587 ], 588 proc_macros: ["libdarling_macro"], 589} 590 591rust_test_host { 592 name: "darling_test_tests_split_declaration", 593 host_cross_supported: false, 594 crate_name: "split_declaration", 595 cargo_env_compat: true, 596 cargo_pkg_version: "0.20.10", 597 crate_root: "tests/split_declaration.rs", 598 test_suites: ["general-tests"], 599 auto_gen_config: true, 600 test_options: { 601 unit_test: true, 602 }, 603 edition: "2021", 604 rustlibs: [ 605 "libdarling", 606 "libdarling_core", 607 "libproc_macro2", 608 "libquote", 609 "libsyn", 610 ], 611 proc_macros: ["libdarling_macro"], 612} 613 614rust_test_host { 615 name: "darling_test_tests_supports", 616 host_cross_supported: false, 617 crate_name: "supports", 618 cargo_env_compat: true, 619 cargo_pkg_version: "0.20.10", 620 crate_root: "tests/supports.rs", 621 test_suites: ["general-tests"], 622 auto_gen_config: true, 623 test_options: { 624 unit_test: true, 625 }, 626 edition: "2021", 627 rustlibs: [ 628 "libdarling", 629 "libdarling_core", 630 "libproc_macro2", 631 "libquote", 632 "libsyn", 633 ], 634 proc_macros: ["libdarling_macro"], 635} 636 637rust_test_host { 638 name: "darling_test_tests_unsupported_attributes", 639 host_cross_supported: false, 640 crate_name: "unsupported_attributes", 641 cargo_env_compat: true, 642 cargo_pkg_version: "0.20.10", 643 crate_root: "tests/unsupported_attributes.rs", 644 test_suites: ["general-tests"], 645 auto_gen_config: true, 646 test_options: { 647 unit_test: true, 648 }, 649 edition: "2021", 650 rustlibs: [ 651 "libdarling", 652 "libdarling_core", 653 "libproc_macro2", 654 "libquote", 655 "libsyn", 656 ], 657 proc_macros: ["libdarling_macro"], 658} 659 660rust_library_host { 661 name: "libdarling", 662 host_cross_supported: false, 663 crate_name: "darling", 664 cargo_env_compat: true, 665 cargo_pkg_version: "0.20.10", 666 crate_root: "src/lib.rs", 667 edition: "2021", 668 rustlibs: ["libdarling_core"], 669 proc_macros: ["libdarling_macro"], 670 compile_multilib: "first", 671} 672