diff options
-rw-r--r-- | Android.bp | 7 | ||||
-rw-r--r-- | cargo_embargo.json | 7 |
2 files changed, 10 insertions, 4 deletions
@@ -1,5 +1,7 @@ // This file is generated by cargo_embargo. -// Do not modify this file as changes will be overridden on upgrade. +// Do not modify this file after the first "rust_*" or "genrule" module +// because the changes will be overridden on upgrade. +// Content before the first "rust_*" or "genrule" module is preserved. package { default_applicable_licenses: ["external_rust_crates_tokio-stream_license"], @@ -30,12 +32,15 @@ rust_library { "fs", "io-util", "net", + "sync", "time", + "tokio-util", ], rustlibs: [ "libfutures_core", "libpin_project_lite", "libtokio", + "libtokio_util", ], apex_available: [ "//apex_available:platform", diff --git a/cargo_embargo.json b/cargo_embargo.json index 2fff605..e4512bd 100644 --- a/cargo_embargo.json +++ b/cargo_embargo.json @@ -4,10 +4,11 @@ "com.android.btservices" ], "features": [ - "time", - "net", + "fs", "io-util", - "fs" + "net", + "sync", + "time" ], "min_sdk_version": "29", "run_cargo": false |