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_remain_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_remain_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_proc_macro { 17 name: "libremain", 18 crate_name: "remain", 19 cargo_env_compat: true, 20 cargo_pkg_version: "0.2.12", 21 crate_root: "src/lib.rs", 22 edition: "2021", 23 rustlibs: [ 24 "libproc_macro2", 25 "libquote", 26 "libsyn", 27 ], 28} 29 30rust_test_host { 31 name: "remain_test_tests_stable", 32 host_cross_supported: false, 33 crate_name: "stable", 34 cargo_env_compat: true, 35 cargo_pkg_version: "0.2.12", 36 crate_root: "tests/stable.rs", 37 test_suites: ["general-tests"], 38 auto_gen_config: true, 39 test_options: { 40 unit_test: true, 41 }, 42 edition: "2021", 43 rustlibs: [ 44 "libproc_macro2", 45 "libquote", 46 "libsyn", 47 ], 48 proc_macros: [ 49 "libremain", 50 "librustversion", 51 ], 52} 53 54rust_test_host { 55 name: "remain_test_tests_unstable", 56 host_cross_supported: false, 57 crate_name: "unstable", 58 cargo_env_compat: true, 59 cargo_pkg_version: "0.2.12", 60 crate_root: "tests/unstable.rs", 61 test_suites: ["general-tests"], 62 auto_gen_config: true, 63 test_options: { 64 unit_test: true, 65 }, 66 edition: "2021", 67 rustlibs: [ 68 "libproc_macro2", 69 "libquote", 70 "libsyn", 71 ], 72 proc_macros: [ 73 "libremain", 74 "librustversion", 75 ], 76} 77