Skip to content

Commit 035c0b0

Browse files
committed
use futures_util::Stream
1 parent 42fc6fd commit 035c0b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda-http/src/streaming.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ use core::{
66
pin::Pin,
77
task::{Context, Poll},
88
};
9+
use futures_util::Stream;
910
pub use http::{self, Response};
1011
use http_body::Body;
1112
use lambda_runtime::Diagnostic;
1213
pub use lambda_runtime::{Error, LambdaEvent, MetadataPrelude, Service, StreamResponse};
1314
use std::marker::PhantomData;
14-
use tokio_stream::Stream;
1515

1616
/// An adapter that lifts a standard [`Service<Request>`] into a
1717
/// [`Service<LambdaEvent<LambdaRequest>>`] which produces streaming Lambda HTTP

0 commit comments

Comments
 (0)