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_downcast-rs_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_downcast-rs_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_test {
17    name: "downcast-rs_test_src_lib",
18    host_supported: true,
19    crate_name: "downcast_rs",
20    cargo_env_compat: true,
21    cargo_pkg_version: "1.2.1",
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: "2015",
29    features: [
30        "default",
31        "std",
32    ],
33}
34
35rust_test {
36    name: "downcast-rs_test_tests_import_via_macro_use",
37    host_supported: true,
38    crate_name: "import_via_macro_use",
39    cargo_env_compat: true,
40    cargo_pkg_version: "1.2.1",
41    crate_root: "tests/import_via_macro_use.rs",
42    test_suites: ["general-tests"],
43    auto_gen_config: true,
44    test_options: {
45        unit_test: true,
46    },
47    edition: "2015",
48    features: [
49        "default",
50        "std",
51    ],
52    rustlibs: ["libdowncast_rs"],
53}
54
55rust_test {
56    name: "downcast-rs_test_tests_use_via_namespace",
57    host_supported: true,
58    crate_name: "use_via_namespace",
59    cargo_env_compat: true,
60    cargo_pkg_version: "1.2.1",
61    crate_root: "tests/use_via_namespace.rs",
62    test_suites: ["general-tests"],
63    auto_gen_config: true,
64    test_options: {
65        unit_test: true,
66    },
67    edition: "2015",
68    features: [
69        "default",
70        "std",
71    ],
72    rustlibs: ["libdowncast_rs"],
73}
74
75rust_library {
76    name: "libdowncast_rs",
77    host_supported: true,
78    crate_name: "downcast_rs",
79    cargo_env_compat: true,
80    cargo_pkg_version: "1.2.1",
81    crate_root: "src/lib.rs",
82    edition: "2015",
83    features: [
84        "default",
85        "std",
86    ],
87    apex_available: [
88        "//apex_available:platform",
89        "//apex_available:anyapex",
90    ],
91    product_available: true,
92    vendor_available: true,
93    min_sdk_version: "29",
94}
95
96dirgroup {
97    name: "trusty_dirgroup_external_rust_crates_downcast-rs",
98    visibility: ["//trusty/vendor/google/aosp/scripts"],
99    dirs: ["."],
100}
101