Migrate 20 crates to monorepo
oneshot-uniffi
minimal-lexical
num_enum
num_enum_derive
num-complex
num-derive
paste
pin-utils
predicates
protobuf-parse
protobuf-support
quote
remain
rustc-demangle-capi
rustix
shared_child
thiserror-impl
threadpool
tikv-jemalloc-sys
tonic
Bug: http://b/339424309
Test: treehugger
Change-Id: Ie4c87452caaf4e234d9167f05c513da07fd79fc7
diff --git a/Android.bp b/Android.bp
index 174336e..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,62 +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_protobuf-parse_license"],
-}
-
-license {
- name: "external_rust_crates_protobuf-parse_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-MIT"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libprotobuf_parse",
- host_supported: true,
- crate_name: "protobuf_parse",
- cargo_env_compat: true,
- cargo_pkg_version: "3.2.0",
- crate_root: "src/lib.rs",
- edition: "2021",
- rustlibs: [
- "libanyhow",
- "libindexmap",
- "liblog_rust",
- "libprotobuf",
- "libprotobuf_support",
- "libtempfile",
- "libthiserror",
- "libwhich",
- ],
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- product_available: true,
- vendor_available: true,
-}
-
-rust_binary {
- name: "parse_and_typecheck",
- host_supported: true,
- crate_name: "parse_and_typecheck",
- cargo_env_compat: true,
- cargo_pkg_version: "3.2.0",
- crate_root: "src/bin/parse-and-typecheck.rs",
- edition: "2021",
- rustlibs: [
- "libanyhow",
- "libindexmap",
- "liblog_rust",
- "libprotobuf",
- "libprotobuf_parse",
- "libprotobuf_support",
- "libtempfile",
- "libthiserror",
- "libwhich",
- ],
- product_available: true,
- vendor_available: true,
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index cb908d7..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "run_cargo": false
-}