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: I31aaaf558fba318a2ef940a4e418de581df2db1a
diff --git a/Android.bp b/Android.bp
index f83bc8e..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,31 +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_synstructure_license"],
-}
-
-license {
- name: "external_rust_crates_synstructure_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-MIT"],
- license_text: ["LICENSE"],
-}
-
-rust_library_host {
- name: "libsynstructure",
- host_cross_supported: false,
- crate_name: "synstructure",
- cargo_env_compat: true,
- cargo_pkg_version: "0.12.6",
- crate_root: "src/lib.rs",
- edition: "2018",
- features: ["proc-macro"],
- rustlibs: [
- "libproc_macro2",
- "libquote",
- "libsyn",
- "libunicode_xid",
- ],
- compile_multilib: "first",
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 5f54cfa..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,17 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/zeroize"
- },
- {
- "path": "external/uwb/src"
- },
- {
- "path": "system/keymint/derive"
- },
- {
- "path": "system/keymint/hal"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index e672222..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "features": [
- "proc-macro"
- ],
- "package": {
- "synstructure": {
- "device_supported": false,
- "host_first_multilib": true
- }
- },
- "run_cargo": false
-}