• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file after the first "rust_*" or "genrule" module
3// because the changes will be overridden on upgrade.
4// Content before the first "rust_*" or "genrule" module is preserved.
5
6package {
7    default_applicable_licenses: ["external_rust_crates_async-stream_license"],
8}
9
10// Added automatically by a large-scale-change
11// See: http://go/android-license-faq
12license {
13    name: "external_rust_crates_async-stream_license",
14    visibility: [":__subpackages__"],
15    license_kinds: [
16        "SPDX-license-identifier-MIT",
17    ],
18    license_text: [
19        "LICENSE",
20    ],
21}
22
23rust_test {
24    name: "async-stream_test_tests_for_await",
25    host_supported: true,
26    crate_name: "for_await",
27    cargo_env_compat: true,
28    cargo_pkg_version: "0.3.5",
29    crate_root: "tests/for_await.rs",
30    test_suites: ["general-tests"],
31    auto_gen_config: true,
32    test_options: {
33        unit_test: true,
34    },
35    edition: "2018",
36    rustlibs: [
37        "libasync_stream",
38        "libfutures_core",
39        "libfutures_util",
40        "libpin_project_lite",
41        "libtokio",
42    ],
43    proc_macros: [
44        "libasync_stream_impl",
45        "librustversion",
46    ],
47}
48
49rust_test {
50    name: "async-stream_test_tests_spans_preserved",
51    host_supported: true,
52    crate_name: "spans_preserved",
53    cargo_env_compat: true,
54    cargo_pkg_version: "0.3.5",
55    crate_root: "tests/spans_preserved.rs",
56    test_suites: ["general-tests"],
57    auto_gen_config: true,
58    test_options: {
59        unit_test: true,
60    },
61    edition: "2018",
62    rustlibs: [
63        "libasync_stream",
64        "libfutures_core",
65        "libfutures_util",
66        "libpin_project_lite",
67        "libtokio",
68    ],
69    proc_macros: [
70        "libasync_stream_impl",
71        "librustversion",
72    ],
73}
74
75rust_test {
76    name: "async-stream_test_tests_try_stream",
77    host_supported: true,
78    crate_name: "try_stream",
79    cargo_env_compat: true,
80    cargo_pkg_version: "0.3.5",
81    crate_root: "tests/try_stream.rs",
82    test_suites: ["general-tests"],
83    auto_gen_config: true,
84    test_options: {
85        unit_test: true,
86    },
87    edition: "2018",
88    rustlibs: [
89        "libasync_stream",
90        "libfutures_core",
91        "libfutures_util",
92        "libpin_project_lite",
93        "libtokio",
94    ],
95    proc_macros: [
96        "libasync_stream_impl",
97        "librustversion",
98    ],
99}
100
101rust_library {
102    name: "libasync_stream",
103    host_supported: true,
104    crate_name: "async_stream",
105    cargo_env_compat: true,
106    cargo_pkg_version: "0.3.5",
107    crate_root: "src/lib.rs",
108    edition: "2018",
109    rustlibs: [
110        "libfutures_core",
111        "libpin_project_lite",
112    ],
113    proc_macros: ["libasync_stream_impl"],
114    apex_available: [
115        "//apex_available:platform",
116        "//apex_available:anyapex",
117    ],
118    product_available: true,
119    vendor_available: true,
120}
121