summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Drumond Jacob <hugojacob@google.com>2024-04-25 09:41:02 +0200
committerHugo Drumond Jacob <hugojacob@google.com>2024-04-25 13:04:58 +0200
commit7a36e08608f8184497fd847970faf3055812bc13 (patch)
tree380d2d6103d9a286d7a2643e80ce1cc6709d0511
parentec5ce4148e4305e26cac35f17c256dfb061f4080 (diff)
downloadtokio-stream-main.tar.gz
Enable the sync featureHEADmastermain
The "sync" feature is enabled for tokio and tokio-util. Enable it in tokio-stream for completeness. Bug: 336565738 Test: Treehugger Change-Id: I08869ba80978fbb54f040d7dacdf2edba3cc5663
-rw-r--r--Android.bp7
-rw-r--r--cargo_embargo.json7
2 files changed, 10 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index 8083c73..338e797 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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