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_serde_cbor_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_serde_cbor_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_library { 17 name: "libserde_cbor", 18 host_supported: true, 19 crate_name: "serde_cbor", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.11.2", 22 crate_root: "src/lib.rs", 23 edition: "2018", 24 features: [ 25 "default", 26 "std", 27 "tags", 28 ], 29 rustlibs: [ 30 "libhalf", 31 "libserde", 32 ], 33 apex_available: [ 34 "//apex_available:platform", 35 "//apex_available:anyapex", 36 ], 37 product_available: true, 38 vendor_available: true, 39 min_sdk_version: "29", 40} 41 42rust_test { 43 name: "serde_cbor_test_tests_bennofs", 44 host_supported: true, 45 crate_name: "bennofs", 46 cargo_env_compat: true, 47 cargo_pkg_version: "0.11.2", 48 crate_root: "tests/bennofs.rs", 49 test_suites: ["general-tests"], 50 auto_gen_config: true, 51 test_options: { 52 unit_test: true, 53 }, 54 edition: "2018", 55 features: [ 56 "default", 57 "std", 58 "tags", 59 ], 60 rustlibs: [ 61 "libhalf", 62 "libserde", 63 "libserde_cbor", 64 ], 65 proc_macros: ["libserde_derive"], 66} 67 68rust_test { 69 name: "serde_cbor_test_tests_canonical", 70 host_supported: true, 71 crate_name: "canonical", 72 cargo_env_compat: true, 73 cargo_pkg_version: "0.11.2", 74 crate_root: "tests/canonical.rs", 75 test_suites: ["general-tests"], 76 auto_gen_config: true, 77 test_options: { 78 unit_test: true, 79 }, 80 edition: "2018", 81 features: [ 82 "default", 83 "std", 84 "tags", 85 ], 86 rustlibs: [ 87 "libhalf", 88 "libserde", 89 "libserde_cbor", 90 ], 91 proc_macros: ["libserde_derive"], 92} 93 94rust_test { 95 name: "serde_cbor_test_tests_de", 96 host_supported: true, 97 crate_name: "de", 98 cargo_env_compat: true, 99 cargo_pkg_version: "0.11.2", 100 crate_root: "tests/de.rs", 101 test_suites: ["general-tests"], 102 auto_gen_config: true, 103 test_options: { 104 unit_test: true, 105 }, 106 edition: "2018", 107 features: [ 108 "default", 109 "std", 110 "tags", 111 ], 112 rustlibs: [ 113 "libhalf", 114 "libserde", 115 "libserde_cbor", 116 ], 117 proc_macros: ["libserde_derive"], 118} 119 120rust_test { 121 name: "serde_cbor_test_tests_enum", 122 host_supported: true, 123 crate_name: "enum", 124 cargo_env_compat: true, 125 cargo_pkg_version: "0.11.2", 126 crate_root: "tests/enum.rs", 127 test_suites: ["general-tests"], 128 auto_gen_config: true, 129 test_options: { 130 unit_test: true, 131 }, 132 edition: "2018", 133 features: [ 134 "default", 135 "std", 136 "tags", 137 ], 138 rustlibs: [ 139 "libhalf", 140 "libserde", 141 "libserde_cbor", 142 ], 143 proc_macros: ["libserde_derive"], 144} 145 146rust_test { 147 name: "serde_cbor_test_tests_ser", 148 host_supported: true, 149 crate_name: "ser", 150 cargo_env_compat: true, 151 cargo_pkg_version: "0.11.2", 152 crate_root: "tests/ser.rs", 153 test_suites: ["general-tests"], 154 auto_gen_config: true, 155 test_options: { 156 unit_test: true, 157 }, 158 edition: "2018", 159 features: [ 160 "default", 161 "std", 162 "tags", 163 ], 164 rustlibs: [ 165 "libhalf", 166 "libserde", 167 "libserde_cbor", 168 ], 169 proc_macros: ["libserde_derive"], 170} 171 172rust_test { 173 name: "serde_cbor_test_tests_std_types", 174 host_supported: true, 175 crate_name: "std_types", 176 cargo_env_compat: true, 177 cargo_pkg_version: "0.11.2", 178 crate_root: "tests/std_types.rs", 179 test_suites: ["general-tests"], 180 auto_gen_config: true, 181 test_options: { 182 unit_test: true, 183 }, 184 edition: "2018", 185 features: [ 186 "default", 187 "std", 188 "tags", 189 ], 190 rustlibs: [ 191 "libhalf", 192 "libserde", 193 "libserde_cbor", 194 ], 195 proc_macros: ["libserde_derive"], 196} 197 198rust_test { 199 name: "serde_cbor_test_tests_tags", 200 host_supported: true, 201 crate_name: "tags", 202 cargo_env_compat: true, 203 cargo_pkg_version: "0.11.2", 204 crate_root: "tests/tags.rs", 205 test_suites: ["general-tests"], 206 auto_gen_config: true, 207 test_options: { 208 unit_test: true, 209 }, 210 edition: "2018", 211 features: [ 212 "default", 213 "std", 214 "tags", 215 ], 216 rustlibs: [ 217 "libhalf", 218 "libserde", 219 "libserde_cbor", 220 ], 221 proc_macros: ["libserde_derive"], 222} 223 224rust_test { 225 name: "serde_cbor_test_tests_value", 226 host_supported: true, 227 crate_name: "value", 228 cargo_env_compat: true, 229 cargo_pkg_version: "0.11.2", 230 crate_root: "tests/value.rs", 231 test_suites: ["general-tests"], 232 auto_gen_config: true, 233 test_options: { 234 unit_test: true, 235 }, 236 edition: "2018", 237 features: [ 238 "default", 239 "std", 240 "tags", 241 ], 242 rustlibs: [ 243 "libhalf", 244 "libserde", 245 "libserde_cbor", 246 ], 247 proc_macros: ["libserde_derive"], 248} 249