Migrate 26 crates to monorepo
tokio-util
tower
tower-layer
tower-service
tracing
tracing-attributes
tracing-core
tracing-subscriber
try-lock
tungstenite
twox-hash
ucd-trie
unicode-bidi
unicode-normalization
unicode-segmentation
unicode-width
unsafe-libyaml
userfaultfd
utf-8
uuid
weak-table
webpki
which
winnow
x509-cert
xml-rs
Bug: http://b/339424309
Test: treehugger
Change-Id: I1be260ff837571e8d1460a2eab8f1dfefbc9fe5f
diff --git a/Android.bp b/Android.bp
index 5ec9d0d..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,98 +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_uuid_license"],
-}
-
-license {
- name: "external_rust_crates_uuid_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libuuid",
- host_supported: true,
- crate_name: "uuid",
- cargo_env_compat: true,
- cargo_pkg_version: "1.7.0",
- crate_root: "src/lib.rs",
- edition: "2018",
- features: [
- "atomic",
- "rng",
- "serde",
- "std",
- "v1",
- "v4",
- ],
- rustlibs: [
- "libatomic_rust",
- "libgetrandom",
- "libserde",
- ],
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- product_available: true,
- vendor_available: true,
-}
-
-rust_test {
- name: "uuid_test_src_lib",
- host_supported: true,
- crate_name: "uuid",
- cargo_env_compat: true,
- cargo_pkg_version: "1.7.0",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- features: [
- "atomic",
- "rng",
- "serde",
- "std",
- "v1",
- "v4",
- ],
- rustlibs: [
- "libatomic_rust",
- "libbincode",
- "libgetrandom",
- "libserde",
- "libserde_json",
- "libserde_test",
- ],
- proc_macros: [
- "librustversion",
- "libserde_derive",
- ],
-}
-
-rust_library_rlib {
- name: "libuuid_nostd",
- crate_name: "uuid",
- cargo_env_compat: true,
- cargo_pkg_version: "1.7.0",
- crate_root: "src/lib.rs",
- edition: "2018",
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- prefer_rlib: true,
- no_stdlibs: true,
- stdlibs: [
- "libcompiler_builtins.rust_sysroot",
- "libcore.rust_sysroot",
- ],
- product_available: true,
- vendor_available: true,
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index f5960e5..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,26 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "packages/modules/Virtualization/apkdmverity"
- },
- {
- "path": "packages/modules/Virtualization/authfs"
- },
- {
- "path": "packages/modules/Virtualization/encryptedstore"
- },
- {
- "path": "packages/modules/Virtualization/libs/devicemapper"
- },
- {
- "path": "packages/modules/Virtualization/microdroid_manager"
- },
- {
- "path": "packages/modules/Virtualization/virtualizationmanager"
- },
- {
- "path": "packages/modules/Virtualization/zipfuse"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index bb60a33..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "run_cargo": false,
- "package": {
- "uuid": {
- "dep_blocklist": ["libtrybuild"]
- }
- },
- "variants": [
- {
- "tests": true,
- "features": [
- "serde",
- "std",
- "v1",
- "v4"
- ]
- },
- {
- "features": [],
- "module_name_overrides": {
- "libuuid": "libuuid_nostd"
- },
- "package": {
- "uuid": {
- "force_rlib": true,
- "host_supported": false,
- "no_std": true
- }
- }
- }
- ]
-}