Migrate 25 crates to monorepo am: c9037cb835

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/async-stream/+/3218920

Change-Id: I3ff53a2b674032069d149b9a5f7f424f6e5d5cf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 085959a..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,112 +1 @@
-// 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"],
-}
-
-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.5",
-    crate_root: "tests/for_await.rs",
-    test_suites: ["general-tests"],
-    auto_gen_config: true,
-    test_options: {
-        unit_test: true,
-    },
-    edition: "2018",
-    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.5",
-    crate_root: "tests/spans_preserved.rs",
-    test_suites: ["general-tests"],
-    auto_gen_config: true,
-    test_options: {
-        unit_test: true,
-    },
-    edition: "2018",
-    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.5",
-    crate_root: "tests/try_stream.rs",
-    test_suites: ["general-tests"],
-    auto_gen_config: true,
-    test_options: {
-        unit_test: true,
-    },
-    edition: "2018",
-    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.5",
-    crate_root: "src/lib.rs",
-    edition: "2018",
-    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,
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 0d50c8f..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,27 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
-  "imports": [
-    {
-      "path": "external/rust/crates/tokio"
-    },
-    {
-      "path": "external/rust/crates/tokio-test"
-    }
-  ],
-  "presubmit": [
-    {
-      "name": "async-stream_test_tests_for_await"
-    },
-    {
-      "name": "async-stream_test_tests_try_stream"
-    }
-  ],
-  "presubmit-rust": [
-    {
-      "name": "async-stream_test_tests_for_await"
-    },
-    {
-      "name": "async-stream_test_tests_try_stream"
-    }
-  ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 9c1d61a..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-  "tests": true,
-  "package": {
-    "async-stream": {
-      "dep_blocklist": [
-        "libtrybuild"
-      ]
-    }
-  },
-  "module_blocklist": [
-    "async-stream_test_src_lib",
-    "async-stream_test_tests_stream"
-  ],
-  "run_cargo": false
-}