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: I1b7612ea52b23b068e67c4d0a53c08db65a77531
diff --git a/Android.bp b/Android.bp
index 88f7c9c..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,53 +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_tonic_license"],
-}
-
-license {
- name: "external_rust_crates_tonic_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-MIT"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libtonic",
- host_supported: true,
- crate_name: "tonic",
- cargo_env_compat: true,
- cargo_pkg_version: "0.11.0",
- crate_root: "src/lib.rs",
- edition: "2021",
- features: [
- "channel",
- "transport",
- ],
- rustlibs: [
- "libasync_stream",
- "libaxum",
- "libbase64_rust",
- "libbytes",
- "libh2",
- "libhttp",
- "libhttp_body",
- "libhyper",
- "libhyper_timeout",
- "libpercent_encoding",
- "libpin_project",
- "libtokio",
- "libtokio_stream",
- "libtower",
- "libtower_layer",
- "libtower_service",
- "libtracing",
- ],
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- product_available: true,
- vendor_available: true,
- visibility: ["//system/software_defined_vehicle:__subpackages__"],
-}
+// 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 aa740f3..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "features": ["transport"],
- "module_visibility": {
- "libtonic": [
- "//system/software_defined_vehicle:__subpackages__"
- ]
- },
- "run_cargo": false
-}