Skip to content

Commit 93d31c1

Browse files
authored
Replace futures with futures-util in examples dependency (#435)
1 parent 4bd9549 commit 93d31c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/tonic-key-value-store/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ bytes = "1"
1111
hyper = { version = "0.14.4", features = ["full"] }
1212
prost = "0.11"
1313
tokio = { version = "1.2.0", features = ["full"] }
14-
futures = "0.3"
14+
futures-util = { version = "0.3", default-features = false }
1515
tokio-stream = { version = "0.1", features = ["sync", "net"] }
1616
tonic = "0.9"
1717
tower = { version = "0.5", features = ["full"] }

examples/tonic-key-value-store/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn main() {
55
/*
66
use bytes::Bytes;
77
use clap::Parser;
8-
use futures::StreamExt;
8+
use futures_util::StreamExt;
99
use hyper::{
1010
body::HttpBody,
1111
header::{self, HeaderValue},

0 commit comments

Comments
 (0)