Migrate 25 crates to monorepo
itoa
percent-encoding
untrusted
arbitrary
nix
arc-swap
arrayvec
axum-core
bindgen-cli
cov-mark
equivalent
fixedbitset
foreign-types
foreign-types-shared
fxhash
http
hyper
kernlog
lazycell
libtest-mimic
libz-sys
merge
merge_derive
mls-rs
mls-rs-crypto-traits
Bug: http://b/339424309
Test: treehugger
Change-Id: I5263449cecbe91c292432c6f5d5fb727d118689c
diff --git a/Android.bp b/Android.bp
index cded2f2..96beb97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,72 +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_nix_license"],
-}
-
-license {
- name: "external_rust_crates_nix_license",
- visibility: [":__subpackages__"],
- license_kinds: ["SPDX-license-identifier-MIT"],
- license_text: ["LICENSE"],
-}
-
-rust_library {
- name: "libnix",
- host_supported: true,
- crate_name: "nix",
- cargo_env_compat: true,
- cargo_pkg_version: "0.28.0",
- crate_root: "src/lib.rs",
- edition: "2021",
- features: [
- "event",
- "feature",
- "fs",
- "inotify",
- "ioctl",
- "memoffset",
- "mman",
- "mount",
- "net",
- "poll",
- "process",
- "sched",
- "signal",
- "socket",
- "term",
- "time",
- "uio",
- "user",
- ],
- rustlibs: [
- "libbitflags",
- "libcfg_if",
- "liblibc",
- "libmemoffset",
- ],
- apex_available: [
- "//apex_available:platform",
- "//apex_available:anyapex",
- ],
- product_available: true,
- vendor_available: true,
- min_sdk_version: "29",
- // Manually translated build.rs cfg aliases.
- target: {
- host_linux: {
- cfgs: [
- "linux",
- "linux_android",
- ],
- },
- android: {
- cfgs: [
- "android",
- "linux_android",
- ],
- },
- },
-
-}
+// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING
deleted file mode 100644
index 10e0efb..0000000
--- a/TEST_MAPPING
+++ /dev/null
@@ -1,47 +0,0 @@
-// Generated by update_crate_tests.py for tests that depend on this crate.
-{
- "imports": [
- {
- "path": "external/rust/crates/tokio"
- },
- {
- "path": "packages/modules/Virtualization/apkdmverity"
- },
- {
- "path": "packages/modules/Virtualization/authfs"
- },
- {
- "path": "packages/modules/Virtualization/encryptedstore"
- },
- {
- "path": "packages/modules/Virtualization/libs/capabilities"
- },
- {
- "path": "packages/modules/Virtualization/libs/devicemapper"
- },
- {
- "path": "packages/modules/Virtualization/microdroid_manager"
- },
- {
- "path": "packages/modules/Virtualization/virtualizationmanager"
- },
- {
- "path": "packages/modules/Virtualization/vm"
- },
- {
- "path": "packages/modules/Virtualization/zipfuse"
- },
- {
- "path": "system/security/diced"
- },
- {
- "path": "system/security/keystore2"
- },
- {
- "path": "system/security/keystore2/legacykeystore"
- },
- {
- "path": "system/security/keystore2/src/crypto"
- }
- ]
-}
diff --git a/cargo_embargo.json b/cargo_embargo.json
deleted file mode 100644
index 861a45d..0000000
--- a/cargo_embargo.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "features": [
- "event",
- "feature",
- "fs",
- "inotify",
- "ioctl",
- "mount",
- "mman",
- "net",
- "poll",
- "sched",
- "signal",
- "socket",
- "term",
- "time",
- "uio",
- "user"
- ],
- "min_sdk_version": "29",
- "run_cargo": false,
- "package": {
- "nix": {
- "add_module_block": "module_block.bp.fragment"
- }
- }
-}