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_oneshot-uniffi_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_oneshot-uniffi_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_library { 17 name: "liboneshot_uniffi", 18 host_supported: true, 19 crate_name: "oneshot", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.1.6", 22 crate_root: "src/lib.rs", 23 edition: "2021", 24 features: [ 25 "async", 26 "default", 27 "std", 28 ], 29 apex_available: [ 30 "//apex_available:platform", 31 "//apex_available:anyapex", 32 ], 33 product_available: true, 34 vendor_available: true, 35 visibility: ["//external/rust/android-crates-io/crates/uniffi_core"], 36} 37 38rust_test { 39 name: "oneshot-uniffi_test_src_lib", 40 host_supported: true, 41 crate_name: "oneshot_uniffi", 42 cargo_env_compat: true, 43 cargo_pkg_version: "0.1.6", 44 crate_root: "src/lib.rs", 45 test_suites: ["general-tests"], 46 auto_gen_config: true, 47 test_options: { 48 unit_test: true, 49 }, 50 edition: "2021", 51 features: [ 52 "async", 53 "default", 54 "std", 55 ], 56 rustlibs: [ 57 "libcriterion", 58 "libtokio", 59 ], 60} 61 62rust_test { 63 name: "oneshot-uniffi_test_tests_assert_mem", 64 host_supported: true, 65 crate_name: "assert_mem", 66 cargo_env_compat: true, 67 cargo_pkg_version: "0.1.6", 68 crate_root: "tests/assert_mem.rs", 69 test_suites: ["general-tests"], 70 auto_gen_config: true, 71 test_options: { 72 unit_test: true, 73 }, 74 edition: "2021", 75 features: [ 76 "async", 77 "default", 78 "std", 79 ], 80 rustlibs: [ 81 "libcriterion", 82 "liboneshot_uniffi", 83 "libtokio", 84 ], 85} 86 87rust_test { 88 name: "oneshot-uniffi_test_tests_async", 89 host_supported: true, 90 crate_name: "async", 91 cargo_env_compat: true, 92 cargo_pkg_version: "0.1.6", 93 crate_root: "tests/async.rs", 94 test_suites: ["general-tests"], 95 auto_gen_config: true, 96 test_options: { 97 unit_test: true, 98 }, 99 edition: "2021", 100 features: [ 101 "async", 102 "default", 103 "std", 104 ], 105 rustlibs: [ 106 "libcriterion", 107 "liboneshot_uniffi", 108 "libtokio", 109 ], 110} 111 112rust_test { 113 name: "oneshot-uniffi_test_tests_future", 114 host_supported: true, 115 crate_name: "future", 116 cargo_env_compat: true, 117 cargo_pkg_version: "0.1.6", 118 crate_root: "tests/future.rs", 119 test_suites: ["general-tests"], 120 auto_gen_config: true, 121 test_options: { 122 unit_test: true, 123 }, 124 edition: "2021", 125 features: [ 126 "async", 127 "default", 128 "std", 129 ], 130 rustlibs: [ 131 "libcriterion", 132 "liboneshot_uniffi", 133 "libtokio", 134 ], 135} 136 137rust_test { 138 name: "oneshot-uniffi_test_tests_loom", 139 host_supported: true, 140 crate_name: "loom", 141 cargo_env_compat: true, 142 cargo_pkg_version: "0.1.6", 143 crate_root: "tests/loom.rs", 144 test_suites: ["general-tests"], 145 auto_gen_config: true, 146 test_options: { 147 unit_test: true, 148 }, 149 edition: "2021", 150 features: [ 151 "async", 152 "default", 153 "std", 154 ], 155 rustlibs: [ 156 "libcriterion", 157 "liboneshot_uniffi", 158 "libtokio", 159 ], 160} 161 162rust_test { 163 name: "oneshot-uniffi_test_tests_raw", 164 host_supported: true, 165 crate_name: "raw", 166 cargo_env_compat: true, 167 cargo_pkg_version: "0.1.6", 168 crate_root: "tests/raw.rs", 169 test_suites: ["general-tests"], 170 auto_gen_config: true, 171 test_options: { 172 unit_test: true, 173 }, 174 edition: "2021", 175 features: [ 176 "async", 177 "default", 178 "std", 179 ], 180 rustlibs: [ 181 "libcriterion", 182 "liboneshot_uniffi", 183 "libtokio", 184 ], 185} 186 187rust_test { 188 name: "oneshot-uniffi_test_tests_sync", 189 host_supported: true, 190 crate_name: "sync", 191 cargo_env_compat: true, 192 cargo_pkg_version: "0.1.6", 193 crate_root: "tests/sync.rs", 194 test_suites: ["general-tests"], 195 auto_gen_config: true, 196 test_options: { 197 unit_test: true, 198 }, 199 edition: "2021", 200 features: [ 201 "async", 202 "default", 203 "std", 204 ], 205 rustlibs: [ 206 "libcriterion", 207 "liboneshot_uniffi", 208 "libtokio", 209 ], 210} 211