| // This file is generated by cargo_embargo. |
| // Do not modify this file because the changes will be overridden on upgrade. |
| |
| package { |
| default_applicable_licenses: ["external_rust_crates_async-stream_license"], |
| default_team: "trendy_team_android_rust", |
| } |
| |
| license { |
| name: "external_rust_crates_async-stream_license", |
| visibility: [":__subpackages__"], |
| license_kinds: ["SPDX-license-identifier-MIT"], |
| license_text: ["LICENSE"], |
| } |
| |
| rust_test { |
| name: "async-stream_test_tests_for_await", |
| host_supported: true, |
| crate_name: "for_await", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.3.6", |
| crate_root: "tests/for_await.rs", |
| test_suites: ["general-tests"], |
| auto_gen_config: true, |
| test_options: { |
| unit_test: true, |
| }, |
| edition: "2021", |
| rustlibs: [ |
| "libasync_stream", |
| "libfutures_core", |
| "libfutures_util", |
| "libpin_project_lite", |
| "libtokio", |
| ], |
| proc_macros: [ |
| "libasync_stream_impl", |
| "librustversion", |
| ], |
| } |
| |
| rust_test { |
| name: "async-stream_test_tests_spans_preserved", |
| host_supported: true, |
| crate_name: "spans_preserved", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.3.6", |
| crate_root: "tests/spans_preserved.rs", |
| test_suites: ["general-tests"], |
| auto_gen_config: true, |
| test_options: { |
| unit_test: true, |
| }, |
| edition: "2021", |
| rustlibs: [ |
| "libasync_stream", |
| "libfutures_core", |
| "libfutures_util", |
| "libpin_project_lite", |
| "libtokio", |
| ], |
| proc_macros: [ |
| "libasync_stream_impl", |
| "librustversion", |
| ], |
| } |
| |
| rust_test { |
| name: "async-stream_test_tests_try_stream", |
| host_supported: true, |
| crate_name: "try_stream", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.3.6", |
| crate_root: "tests/try_stream.rs", |
| test_suites: ["general-tests"], |
| auto_gen_config: true, |
| test_options: { |
| unit_test: true, |
| }, |
| edition: "2021", |
| rustlibs: [ |
| "libasync_stream", |
| "libfutures_core", |
| "libfutures_util", |
| "libpin_project_lite", |
| "libtokio", |
| ], |
| proc_macros: [ |
| "libasync_stream_impl", |
| "librustversion", |
| ], |
| } |
| |
| rust_library { |
| name: "libasync_stream", |
| host_supported: true, |
| crate_name: "async_stream", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.3.6", |
| crate_root: "src/lib.rs", |
| edition: "2021", |
| rustlibs: [ |
| "libfutures_core", |
| "libpin_project_lite", |
| ], |
| proc_macros: ["libasync_stream_impl"], |
| apex_available: [ |
| "//apex_available:platform", |
| "//apex_available:anyapex", |
| ], |
| product_available: true, |
| vendor_available: true, |
| min_sdk_version: "29", |
| } |