Migrate 25 crates to monorepo.
sec1
semver
serde_cbor
serde_derive
shared_library
slab
smallvec
smccc
socket2
spin
spki
strsim
strum
strum_macros
sync_wrapper
syn-mid
synstructure
tempfile
termcolor
termtree
textwrap
thiserror
thread_local
tinytemplate
tokio-macros
Bug: 339424309
Test: treehugger
Change-Id: I1fd42913ee06f211a8dedba27ac587d6854f89dc
diff --git a/Android.bp b/Android.bp
index db5a737..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,36 +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_tempfile_license"],
-}
-
-license {
- name: "external_rust_crates_tempfile_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libtempfile",
- host_supported: true,
- crate_name: "tempfile",
- cargo_env_compat: true,
- cargo_pkg_version: "3.3.0",
- crate_root: "src/lib.rs",
- edition: "2018",
- rustlibs: [
- "libcfg_if",
- "libfastrand",
- "liblibc",
- "libremove_dir_all",
- ],
- apex_available: [
- "//apex_available:anyapex",
- "//apex_available:platform",
- ],
- 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 a31ddb1..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,29 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/uwb/src"
- },
- {
- "path": "packages/modules/Virtualization/apkdmverity"
- },
- {
- "path": "packages/modules/Virtualization/authfs"
- },
- {
- "path": "packages/modules/Virtualization/avmd"
- },
- {
- "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 3e8023e..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "apex_available": [
- "//apex_available:anyapex",
- "//apex_available:platform"
- ],
- "min_sdk_version": "29",
- "run_cargo": false
-}