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: I3ea73de50c7d2fe234b4be27abf0087c96fb8a1d
diff --git a/Android.bp b/Android.bp
index c2cc076..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,52 +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_shared_library_license"],
-}
-
-license {
- name: "external_rust_crates_shared_library_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libshared_library",
- host_supported: true,
- crate_name: "shared_library",
- cargo_env_compat: true,
- cargo_pkg_version: "0.1.9",
- crate_root: "src/lib.rs",
- edition: "2015",
- rustlibs: [
- "liblazy_static",
- "liblibc",
- ],
- apex_available: [
- "//apex_available:platform",
- "com.android.virt",
- ],
- product_available: true,
- vendor_available: true,
-}
-
-rust_test {
- name: "shared_library_test_src_lib",
- host_supported: true,
- crate_name: "shared_library",
- cargo_env_compat: true,
- cargo_pkg_version: "0.1.9",
- crate_root: "src/lib.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: false,
- },
- edition: "2015",
- rustlibs: [
- "liblazy_static",
- "liblibc",
- ],
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index f439cf8..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,8 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/vulkano"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 98cba6d..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "apex_available": [
- "//apex_available:platform",
- "com.android.virt"
- ],
- "package": {
- "shared_library": {
- "no_presubmit": true
- }
- },
- "run_cargo": false,
- "tests": true
-}