Migrate 25 crates to monorepo.

env_logger
epoll
errno
fallible-iterator
fallible-streaming-iterator
fastrand
flagset
fragile
fs-err
futures
futures-core
futures-executor
futures-io
futures-macro
futures-sink
futures-task
futures-test
futures-util
gbm
getrandom
glob
googletest
googletest_macro
h2
hashbrown

Bug: 339424309
Test: treehugger
Change-Id: Ib1e67f6f201b631b0cd96d42d2473ebb61b1aeab
diff --git a/Android.bp b/Android.bp
index 8e00f3a..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,102 +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_futures-util_license"],
-}
-
-license {
-    name: "external_rust_crates_futures-util_license",
-    visibility: [":__subpackages__"],
-    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
-    license_text: ["LICENSE"],
-}
-
-rust_test {
-    name: "futures-util_test_src_lib",
-    host_supported: true,
-    crate_name: "futures_util",
-    cargo_env_compat: true,
-    cargo_pkg_version: "0.3.30",
-    crate_root: "src/lib.rs",
-    test_suites: ["general-tests"],
-    auto_gen_config: true,
-    test_options: {
-        unit_test: true,
-    },
-    edition: "2018",
-    features: [
-        "alloc",
-        "async-await",
-        "async-await-macro",
-        "channel",
-        "default",
-        "futures-channel",
-        "futures-io",
-        "futures-macro",
-        "futures-sink",
-        "io",
-        "memchr",
-        "sink",
-        "slab",
-        "std",
-    ],
-    rustlibs: [
-        "libfutures_channel",
-        "libfutures_core",
-        "libfutures_io",
-        "libfutures_sink",
-        "libfutures_task",
-        "libmemchr",
-        "libpin_project_lite",
-        "libpin_utils",
-        "libslab",
-        "libtokio",
-    ],
-    proc_macros: ["libfutures_macro"],
-}
-
-rust_library {
-    name: "libfutures_util",
-    host_supported: true,
-    crate_name: "futures_util",
-    cargo_env_compat: true,
-    cargo_pkg_version: "0.3.30",
-    crate_root: "src/lib.rs",
-    edition: "2018",
-    features: [
-        "alloc",
-        "async-await",
-        "async-await-macro",
-        "channel",
-        "default",
-        "futures-channel",
-        "futures-io",
-        "futures-macro",
-        "futures-sink",
-        "io",
-        "memchr",
-        "sink",
-        "slab",
-        "std",
-    ],
-    rustlibs: [
-        "libfutures_channel",
-        "libfutures_core",
-        "libfutures_io",
-        "libfutures_sink",
-        "libfutures_task",
-        "libmemchr",
-        "libpin_project_lite",
-        "libpin_utils",
-        "libslab",
-    ],
-    proc_macros: ["libfutures_macro"],
-    apex_available: [
-        "//apex_available:platform",
-        "//apex_available:anyapex",
-    ],
-    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 dfd5882..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,54 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
-  "imports": [
-    {
-      "path": "external/rust/crates/anyhow"
-    },
-    {
-      "path": "external/rust/crates/async-stream"
-    },
-    {
-      "path": "external/rust/crates/futures-channel"
-    },
-    {
-      "path": "external/rust/crates/futures-executor"
-    },
-    {
-      "path": "external/rust/crates/futures-test"
-    },
-    {
-      "path": "external/rust/crates/tokio"
-    },
-    {
-      "path": "external/rust/crates/tokio-test"
-    },
-    {
-      "path": "packages/modules/DnsResolver"
-    },
-    {
-      "path": "packages/modules/Virtualization/authfs"
-    },
-    {
-      "path": "packages/modules/Virtualization/virtualizationmanager"
-    },
-    {
-      "path": "packages/modules/Virtualization/zipfuse"
-    },
-    {
-      "path": "system/security/keystore2"
-    },
-    {
-      "path": "system/security/keystore2/legacykeystore"
-    }
-  ],
-  "presubmit": [
-    {
-      "name": "futures-util_test_src_lib"
-    }
-  ],
-  "presubmit-rust": [
-    {
-      "name": "futures-util_test_src_lib"
-    }
-  ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index f9468e3..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-  "tests": true,
-  "features": [
-    "channel",
-    "default",
-    "io",
-    "memchr",
-    "sink"
-  ],
-  "min_sdk_version": "29",
-  "run_cargo": false
-}