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