Migrate tokio-stream to monorepo
Bug: http://b/339424309
Test: treehugger
Change-Id: Ic777a026c2995921168674becf1e033d0d2c583b
diff --git a/Android.bp b/Android.bp
index db31b9f..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,45 +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_tokio-stream_license"],
-}
-
-license {
- name: "external_rust_crates_tokio-stream_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-MIT"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libtokio_stream",
- host_supported: true,
- crate_name: "tokio_stream",
- cargo_env_compat: true,
- cargo_pkg_version: "0.1.14",
- crate_root: "src/lib.rs",
- edition: "2021",
- features: [
- "fs",
- "io-util",
- "net",
- "sync",
- "time",
- "tokio-util",
- ],
- rustlibs: [
- "libfutures_core",
- "libpin_project_lite",
- "libtokio",
- "libtokio_util",
- ],
- apex_available: [
- "//apex_available:platform",
- "com.android.btservices",
- "com.sdv.*",
- ],
- product_available: true,
- vendor_available: true,
- min_sdk_version: "29",
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index bbd2132..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,14 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/async-stream"
- },
- {
- "path": "external/rust/crates/tokio"
- },
- {
- "path": "external/rust/crates/tokio-test"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index f72efdc..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "apex_available": [
- "//apex_available:platform",
- "com.android.btservices",
- "com.sdv.*",
- ],
- "features": [
- "fs",
- "io-util",
- "net",
- "sync",
- "time"
- ],
- "min_sdk_version": "29",
- "run_cargo": false
-}