diff options
author | Hugo Drumond Jacob <hugojacob@google.com> | 2024-04-25 09:41:02 +0200 |
---|---|---|
committer | Hugo Drumond Jacob <hugojacob@google.com> | 2024-04-25 13:04:58 +0200 |
commit | 7a36e08608f8184497fd847970faf3055812bc13 (patch) | |
tree | 380d2d6103d9a286d7a2643e80ce1cc6709d0511 | |
parent | ec5ce4148e4305e26cac35f17c256dfb061f4080 (diff) | |
download | tokio-stream-7a36e08608f8184497fd847970faf3055812bc13.tar.gz |
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.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 |