Migrate 25 crates to monorepo.

pin-project
pin-project-internal
pin-project-lite
pkcs1
pkcs8
plotters-backend
plotters-svg
ppv-lite86
predicates-core
predicates-tree
prettyplease
proc-macro2
rand
rand_chacha
rand_core
rand_xorshift
rayon
rayon-core
regex
regex-syntax
rusqlite
rustc-demangle
rustc-hash
rustversion
scopeguard

Bug: 339424309
Test: treehugger
Change-Id: I6663e28ef13005fc2ed87e18d3acd5c1a35da3e2
diff --git a/Android.bp b/Android.bp
index b4e5cc0..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,76 +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_pkcs1_license"],
-}
-
-license {
-    name: "external_rust_crates_pkcs1_license",
-    visibility: [":__subpackages__"],
-    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
-    license_text: ["LICENSE"],
-}
-
-rust_library {
-    name: "libpkcs1",
-    host_supported: true,
-    crate_name: "pkcs1",
-    cargo_env_compat: true,
-    cargo_pkg_version: "0.7.5",
-    crate_root: "src/lib.rs",
-    edition: "2021",
-    features: [
-        "alloc",
-        "zeroize",
-    ],
-    rustlibs: [
-        "libder",
-        "libspki",
-    ],
-    apex_available: [
-        "//apex_available:platform",
-        "com.android.virt",
-    ],
-    product_available: true,
-    vendor_available: true,
-    visibility: [
-        "//packages/modules/Virtualization:__subpackages__",
-        "//system/keymint:__subpackages__",
-    ],
-
-}
-
-rust_library_rlib {
-    name: "libpkcs1_nostd",
-    crate_name: "pkcs1",
-    cargo_env_compat: true,
-    cargo_pkg_version: "0.7.5",
-    crate_root: "src/lib.rs",
-    edition: "2021",
-    features: [
-        "alloc",
-        "zeroize",
-    ],
-    rustlibs: [
-        "libder_nostd",
-        "libspki_nostd",
-    ],
-    apex_available: [
-        "//apex_available:platform",
-        "com.android.virt",
-    ],
-    prefer_rlib: true,
-    no_stdlibs: true,
-    stdlibs: [
-        "libcompiler_builtins.rust_sysroot",
-        "libcore.rust_sysroot",
-    ],
-    product_available: true,
-    vendor_available: true,
-    visibility: [
-        "//packages/modules/Virtualization:__subpackages__",
-        "//system/keymint:__subpackages__",
-    ],
-
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/cargo2android_viz.bp b/cargo2android_viz.bp
deleted file mode 100644
index 8ce03b7..0000000
--- a/cargo2android_viz.bp
+++ /dev/null
@@ -1,4 +0,0 @@
-visibility: [
-     "//packages/modules/Virtualization:__subpackages__",
-     "//system/keymint:__subpackages__",
-]
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 2b1d241..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
-  "apex_available": [
-    "//apex_available:platform",
-    "com.android.virt"
-  ],
-  "features": [
-    "alloc"
-  ],
-  "run_cargo": false,
-  "variants": [
-    {
-      "package": {
-        "pkcs1": {
-          "add_module_block": "cargo2android_viz.bp"
-        }
-      }
-    },
-    {
-      "module_name_overrides": {
-        "libder": "libder_nostd",
-        "libpkcs1": "libpkcs1_nostd",
-        "libpkcs8": "libpkcs8_nostd",
-        "libspki": "libspki_nostd",
-        "libzeroize": "libzeroize_nostd"
-      },
-      "package": {
-        "pkcs1": {
-          "add_module_block": "cargo2android_viz.bp",
-          "force_rlib": true,
-          "host_supported": false,
-          "no_std": true
-        }
-      }
-    }
-  ]
-}