Migrate 25 crates to monorepo
quickcheck
regex-automata
ryu
same-file
serde
serde_json
serde_spanned
serde_test
sharded-slab
shlex
siphasher
tinyvec
tinyvec_macros
tokio-io-timeout
toml
toml_datetime
toml_edit
uniffi
uniffi_checksum_derive
uniffi_meta
virtio-bindings
virtio-queue
virtio-vsock
vsock
vsprintf
zerocopy-derive
Bug: http://b/339424309
Test: treehugger
Change-Id: I63dfff564541de3b696633e79d7b81318b61e991
diff --git a/Android.bp b/Android.bp
index b6c5a90..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,177 +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_ryu_license"],
- default_team: "trendy_team_android_rust",
-}
-
-license {
- name: "external_rust_crates_ryu_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-Apache-2.0"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libryu",
- host_supported: true,
- crate_name: "ryu",
- cargo_env_compat: true,
- cargo_pkg_version: "1.0.16",
- crate_root: "src/lib.rs",
- edition: "2018",
- apex_available: [
- "//apex_available:platform",
- "com.android.virt",
- ],
- product_available: true,
- vendor_available: true,
-}
-
-rust_test {
- name: "ryu_test_tests_common_test",
- host_supported: true,
- crate_name: "common_test",
- cargo_env_compat: true,
- cargo_pkg_version: "1.0.16",
- crate_root: "tests/common_test.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- rustlibs: [
- "libnum_cpus",
- "librand",
- "librand_xorshift",
- "libryu",
- ],
-}
-
-rust_test {
- name: "ryu_test_tests_d2s_intrinsics_test",
- host_supported: true,
- crate_name: "d2s_intrinsics_test",
- cargo_env_compat: true,
- cargo_pkg_version: "1.0.16",
- crate_root: "tests/d2s_intrinsics_test.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- rustlibs: [
- "libnum_cpus",
- "librand",
- "librand_xorshift",
- "libryu",
- ],
-}
-
-rust_test {
- name: "ryu_test_tests_d2s_table_test",
- host_supported: true,
- crate_name: "d2s_table_test",
- cargo_env_compat: true,
- cargo_pkg_version: "1.0.16",
- crate_root: "tests/d2s_table_test.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- rustlibs: [
- "libnum_cpus",
- "librand",
- "librand_xorshift",
- "libryu",
- ],
-}
-
-rust_test {
- name: "ryu_test_tests_d2s_test",
- host_supported: true,
- crate_name: "d2s_test",
- cargo_env_compat: true,
- cargo_pkg_version: "1.0.16",
- crate_root: "tests/d2s_test.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- rustlibs: [
- "libnum_cpus",
- "librand",
- "librand_xorshift",
- "libryu",
- ],
-}
-
-rust_test {
- name: "ryu_test_tests_f2s_test",
- host_supported: true,
- crate_name: "f2s_test",
- cargo_env_compat: true,
- cargo_pkg_version: "1.0.16",
- crate_root: "tests/f2s_test.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- rustlibs: [
- "libnum_cpus",
- "librand",
- "librand_xorshift",
- "libryu",
- ],
-}
-
-rust_test {
- name: "ryu_test_tests_s2d_test",
- host_supported: true,
- crate_name: "s2d_test",
- cargo_env_compat: true,
- cargo_pkg_version: "1.0.16",
- crate_root: "tests/s2d_test.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- rustlibs: [
- "libnum_cpus",
- "librand",
- "librand_xorshift",
- "libryu",
- ],
-}
-
-rust_test {
- name: "ryu_test_tests_s2f_test",
- host_supported: true,
- crate_name: "s2f_test",
- cargo_env_compat: true,
- cargo_pkg_version: "1.0.16",
- crate_root: "tests/s2f_test.rs",
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- rustlibs: [
- "libnum_cpus",
- "librand",
- "librand_xorshift",
- "libryu",
- ],
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 1757ee9..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,84 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/base64"
- },
- {
- "path": "external/rust/crates/bitflags"
- },
- {
- "path": "external/rust/crates/either"
- },
- {
- "path": "external/rust/crates/rand_chacha"
- },
- {
- "path": "external/rust/crates/tinytemplate"
- },
- {
- "path": "external/rust/crates/tinyvec"
- },
- {
- "path": "external/rust/crates/unicode-xid"
- },
- {
- "path": "external/rust/crates/url"
- },
- {
- "path": "packages/modules/Virtualization/authfs"
- },
- {
- "path": "packages/modules/Virtualization/microdroid_manager"
- },
- {
- "path": "packages/modules/Virtualization/virtualizationmanager"
- },
- {
- "path": "packages/modules/Virtualization/vm"
- },
- {
- "path": "packages/modules/Virtualization/zipfuse"
- }
- ],
- "presubmit": [
- {
- "name": "ryu_test_tests_common_test"
- },
- {
- "name": "ryu_test_tests_d2s_table_test"
- },
- {
- "name": "ryu_test_tests_d2s_test"
- },
- {
- "name": "ryu_test_tests_f2s_test"
- },
- {
- "name": "ryu_test_tests_s2d_test"
- },
- {
- "name": "ryu_test_tests_s2f_test"
- }
- ],
- "presubmit-rust": [
- {
- "name": "ryu_test_tests_common_test"
- },
- {
- "name": "ryu_test_tests_d2s_table_test"
- },
- {
- "name": "ryu_test_tests_d2s_test"
- },
- {
- "name": "ryu_test_tests_f2s_test"
- },
- {
- "name": "ryu_test_tests_s2d_test"
- },
- {
- "name": "ryu_test_tests_s2f_test"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 7f14879..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "apex_available": [
- "//apex_available:platform",
- "com.android.virt"
- ],
- "tests": true
-}