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_protobuf-json-mapping_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_protobuf-json-mapping_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-MIT"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libprotobuf_json_mapping",
18    host_supported: true,
19    crate_name: "protobuf_json_mapping",
20    cargo_env_compat: true,
21    cargo_pkg_version: "3.2.0",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    rustlibs: [
25        "libprotobuf",
26        "libprotobuf_support",
27        "libthiserror",
28    ],
29    apex_available: [
30        "//apex_available:platform",
31        "//apex_available:anyapex",
32    ],
33    product_available: true,
34    vendor_available: true,
35}
36
37rust_test {
38    name: "protobuf-json-mapping_test_src_lib",
39    host_supported: true,
40    crate_name: "protobuf_json_mapping",
41    cargo_env_compat: true,
42    cargo_pkg_version: "3.2.0",
43    crate_root: "src/lib.rs",
44    test_suites: ["general-tests"],
45    auto_gen_config: true,
46    test_options: {
47        unit_test: true,
48    },
49    edition: "2021",
50    rustlibs: [
51        "libprotobuf",
52        "libprotobuf_support",
53        "libthiserror",
54    ],
55}
56