Migrate 20 crates to monorepo

oneshot-uniffi
minimal-lexical
num_enum
num_enum_derive
num-complex
num-derive
paste
pin-utils
predicates
protobuf-parse
protobuf-support
quote
remain
rustc-demangle-capi
rustix
shared_child
thiserror-impl
threadpool
tikv-jemalloc-sys
tonic

Bug: http://b/339424309
Test: treehugger
Change-Id: Ic03257c92722f2a75f66ed519fd295837bf97a49
diff --git a/Android.bp b/Android.bp
index 5df7d73..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,73 +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_rustix_license"],
-    default_team: "trendy_team_android_rust",
-}
-
-license {
-    name: "external_rust_crates_rustix_license",
-    visibility: [":__subpackages__"],
-    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
-    license_text: ["LICENSE"],
-}
-
-rust_library {
-    name: "librustix",
-    host_supported: true,
-    crate_name: "rustix",
-    cargo_env_compat: true,
-    cargo_pkg_version: "0.38.31",
-    crate_root: "src/lib.rs",
-    edition: "2021",
-    features: [
-        "alloc",
-        "event",
-        "fs",
-        "libc",
-        "libc_errno",
-        "mm",
-        "std",
-        "use-libc",
-        "use-libc-auxv",
-    ],
-    cfgs: [
-        "libc",
-        "static_assertions",
-    ],
-    rustlibs: [
-        "libbitflags",
-        "liberrno",
-        "liblibc",
-    ],
-    aliases: ["errno:libc_errno"],
-    apex_available: [
-        "//apex_available:platform",
-        "//apex_available:anyapex",
-    ],
-    product_available: true,
-    vendor_available: true,
-    min_sdk_version: "30",
-    target: {
-        linux: {
-            cfgs: [
-                "linux_kernel",
-                "linux_like",
-            ],
-        },
-        android: {
-            cfgs: [
-                "linux_kernel",
-                "linux_like",
-            ],
-        },
-        darwin: {
-            cfgs: [
-                "apple",
-                "bsd",
-            ],
-        },
-    },
-
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 3ce4c7a..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
-  "features": [
-    "alloc",
-    "std",
-    "use-libc-auxv",
-    "use-libc",
-    "mm",
-    "fs",
-    "event"
-  ],
-  "min_sdk_version": "30",
-  "cfg_blocklist": [
-    "linux_like",
-    "linux_kernel"
-  ],
-  "package": {
-    "rustix": {
-      "add_module_block": "cargo_embargo_target_cfgs.bp"
-    }
-  }
-}
diff --git a/cargo_embargo_target_cfgs.bp b/cargo_embargo_target_cfgs.bp
deleted file mode 100644
index 8428117..0000000
--- a/cargo_embargo_target_cfgs.bp
+++ /dev/null
@@ -1,20 +0,0 @@
-target: {
-    linux: {
-        cfgs: [
-            "linux_kernel",
-            "linux_like",
-        ],
-    },
-    android: {
-        cfgs: [
-            "linux_kernel",
-            "linux_like",
-        ],
-    },
-    darwin: {
-        cfgs: [
-            "apple",
-            "bsd",
-        ],
-    },
-}