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