Migrate 25 crates to monorepo

quickcheck
regex-automata
ryu
same-file
serde
serde_json
serde_spanned
serde_test
sharded-slab
shlex
siphasher
tinyvec
tinyvec_macros
tokio-io-timeout
toml
toml_datetime
toml_edit
uniffi
uniffi_checksum_derive
uniffi_meta
virtio-bindings
virtio-queue
virtio-vsock
vsock
vsprintf
zerocopy-derive

Bug: http://b/339424309
Test: treehugger
Change-Id: Iaa7e74290510064df7f3bb48e7ed94a051057e2e
diff --git a/Android.bp b/Android.bp
index ab20649..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,90 +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_serde_license"],
-}
-
-license {
-    name: "external_rust_crates_serde_license",
-    visibility: [":__subpackages__"],
-    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
-    license_text: ["LICENSE"],
-}
-
-rust_library {
-    name: "libserde",
-    host_supported: true,
-    crate_name: "serde",
-    cargo_env_compat: true,
-    cargo_pkg_version: "1.0.158",
-    crate_root: "src/lib.rs",
-    edition: "2015",
-    features: [
-        "default",
-        "derive",
-        "rc",
-        "serde_derive",
-        "std",
-    ],
-    proc_macros: ["libserde_derive"],
-    apex_available: [
-        "//apex_available:platform",
-        "//apex_available:anyapex",
-    ],
-    product_available: true,
-    vendor_available: true,
-    min_sdk_version: "29",
-}
-
-rust_test {
-    name: "serde_test_src_lib",
-    host_supported: true,
-    crate_name: "serde",
-    cargo_env_compat: true,
-    cargo_pkg_version: "1.0.158",
-    crate_root: "src/lib.rs",
-    test_suites: ["general-tests"],
-    auto_gen_config: true,
-    test_options: {
-        unit_test: true,
-    },
-    edition: "2015",
-    features: [
-        "default",
-        "derive",
-        "rc",
-        "serde_derive",
-        "std",
-    ],
-    proc_macros: ["libserde_derive"],
-}
-
-rust_library_rlib {
-    name: "libserde_nostd",
-    crate_name: "serde",
-    cargo_env_compat: true,
-    cargo_pkg_version: "1.0.158",
-    crate_root: "src/lib.rs",
-    edition: "2015",
-    features: [
-        "alloc",
-        "derive",
-        "serde_derive",
-    ],
-    proc_macros: ["libserde_derive"],
-    apex_available: [
-        "//apex_available:platform",
-        "//apex_available:anyapex",
-    ],
-    prefer_rlib: true,
-    no_stdlibs: true,
-    stdlibs: [
-        "liballoc.rust_sysroot",
-        "libcompiler_builtins.rust_sysroot",
-        "libcore.rust_sysroot",
-    ],
-    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 6bed6f8..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,234 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
-  "imports": [
-    {
-      "path": "external/avb/rust"
-    },
-    {
-      "path": "external/rust/crates/anes"
-    },
-    {
-      "path": "external/rust/crates/argh"
-    },
-    {
-      "path": "external/rust/crates/arrayvec"
-    },
-    {
-      "path": "external/rust/crates/async-stream"
-    },
-    {
-      "path": "external/rust/crates/bitflags/1.3.2"
-    },
-    {
-      "path": "external/rust/crates/bytes"
-    },
-    {
-      "path": "external/rust/crates/chrono"
-    },
-    {
-      "path": "external/rust/crates/coset"
-    },
-    {
-      "path": "external/rust/crates/debug_tree"
-    },
-    {
-      "path": "external/rust/crates/either"
-    },
-    {
-      "path": "external/rust/crates/futures-util"
-    },
-    {
-      "path": "external/rust/crates/grpcio-sys"
-    },
-    {
-      "path": "external/rust/crates/hashbrown"
-    },
-    {
-      "path": "external/rust/crates/hashlink"
-    },
-    {
-      "path": "external/rust/crates/http-body"
-    },
-    {
-      "path": "external/rust/crates/httparse"
-    },
-    {
-      "path": "external/rust/crates/httpdate"
-    },
-    {
-      "path": "external/rust/crates/jni"
-    },
-    {
-      "path": "external/rust/crates/oneshot-uniffi"
-    },
-    {
-      "path": "external/rust/crates/p9"
-    },
-    {
-      "path": "external/rust/crates/parking_lot"
-    },
-    {
-      "path": "external/rust/crates/protobuf-json-mapping"
-    },
-    {
-      "path": "external/rust/crates/rand_chacha"
-    },
-    {
-      "path": "external/rust/crates/rand_xorshift"
-    },
-    {
-      "path": "external/rust/crates/serde-xml-rs"
-    },
-    {
-      "path": "external/rust/crates/serde_cbor"
-    },
-    {
-      "path": "external/rust/crates/slab"
-    },
-    {
-      "path": "external/rust/crates/spin"
-    },
-    {
-      "path": "external/rust/crates/thread_local"
-    },
-    {
-      "path": "external/rust/crates/tinytemplate"
-    },
-    {
-      "path": "external/rust/crates/tinyvec"
-    },
-    {
-      "path": "external/rust/crates/tokio"
-    },
-    {
-      "path": "external/rust/crates/tokio-io-timeout"
-    },
-    {
-      "path": "external/rust/crates/tokio-test"
-    },
-    {
-      "path": "external/rust/crates/tower-layer"
-    },
-    {
-      "path": "external/rust/crates/twox-hash"
-    },
-    {
-      "path": "external/rust/crates/unicode-bidi"
-    },
-    {
-      "path": "external/rust/crates/unicode-xid"
-    },
-    {
-      "path": "external/rust/crates/uniffi_core"
-    },
-    {
-      "path": "external/rust/crates/uniffi_meta"
-    },
-    {
-      "path": "external/rust/crates/url"
-    },
-    {
-      "path": "external/rust/crates/uuid"
-    },
-    {
-      "path": "external/rust/crates/webpki"
-    },
-    {
-      "path": "external/uwb/src"
-    },
-    {
-      "path": "packages/modules/DnsResolver"
-    },
-    {
-      "path": "packages/modules/Virtualization/apkdmverity"
-    },
-    {
-      "path": "packages/modules/Virtualization/authfs"
-    },
-    {
-      "path": "packages/modules/Virtualization/encryptedstore"
-    },
-    {
-      "path": "packages/modules/Virtualization/libs/apexutil"
-    },
-    {
-      "path": "packages/modules/Virtualization/libs/apkverify"
-    },
-    {
-      "path": "packages/modules/Virtualization/libs/bssl"
-    },
-    {
-      "path": "packages/modules/Virtualization/libs/devicemapper"
-    },
-    {
-      "path": "packages/modules/Virtualization/microdroid_manager"
-    },
-    {
-      "path": "packages/modules/Virtualization/pvmfw"
-    },
-    {
-      "path": "packages/modules/Virtualization/rialto"
-    },
-    {
-      "path": "packages/modules/Virtualization/service_vm/client_vm_csr"
-    },
-    {
-      "path": "packages/modules/Virtualization/service_vm/comm"
-    },
-    {
-      "path": "packages/modules/Virtualization/service_vm/requests"
-    },
-    {
-      "path": "packages/modules/Virtualization/virtualizationmanager"
-    },
-    {
-      "path": "packages/modules/Virtualization/virtualizationservice"
-    },
-    {
-      "path": "packages/modules/Virtualization/vm"
-    },
-    {
-      "path": "packages/modules/Virtualization/zipfuse"
-    },
-    {
-      "path": "system/apex/libs/libapexsupport"
-    },
-    {
-      "path": "system/authgraph/core"
-    },
-    {
-      "path": "system/authgraph/wire"
-    },
-    {
-      "path": "system/keymint/derive"
-    },
-    {
-      "path": "system/keymint/hal"
-    },
-    {
-      "path": "system/keymint/ta"
-    },
-    {
-      "path": "system/libfmq"
-    },
-    {
-      "path": "system/security/keystore2"
-    },
-    {
-      "path": "system/security/keystore2/legacykeystore"
-    },
-    {
-      "path": "tools/asuite/adevice"
-    }
-  ],
-  "presubmit": [
-    {
-      "name": "serde_test_src_lib"
-    }
-  ],
-  "presubmit-rust": [
-    {
-      "name": "serde_test_src_lib"
-    }
-  ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 550005b..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
-  "cfg_blocklist": [
-    "std_atomic64"
-  ],
-  "min_sdk_version": "29",
-  "run_cargo": false,
-  "variants": [
-    {
-      "features": [
-        "default",
-        "derive",
-        "rc"
-      ],
-      "tests": true
-    },
-    {
-      "features": [
-        "alloc",
-        "derive"
-      ],
-      "module_name_overrides": {
-        "libserde": "libserde_nostd"
-      },
-      "package": {
-        "serde": {
-          "alloc": true,
-          "force_rlib": true,
-          "host_supported": false,
-          "no_std": true
-        }
-      }
-    }
-  ]
-}