Skip to content

Commit 698e09a

Browse files
coolreader18taiki-e
authored andcommitted
Reexport non-Ext traits from the root of futures_util
1 parent 4834780 commit 698e09a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

futures-util/src/lib.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,18 +309,18 @@ macro_rules! delegate_all {
309309

310310
pub mod future;
311311
#[doc(hidden)]
312-
pub use crate::future::{FutureExt, TryFutureExt};
312+
pub use crate::future::{Future, FutureExt, TryFuture, TryFutureExt};
313313

314314
pub mod stream;
315315
#[doc(hidden)]
316-
pub use crate::stream::{StreamExt, TryStreamExt};
316+
pub use crate::stream::{Stream, StreamExt, TryStream, TryStreamExt};
317317

318318
#[cfg(feature = "sink")]
319319
#[cfg_attr(docsrs, doc(cfg(feature = "sink")))]
320320
pub mod sink;
321321
#[cfg(feature = "sink")]
322322
#[doc(hidden)]
323-
pub use crate::sink::SinkExt;
323+
pub use crate::sink::{Sink, SinkExt};
324324

325325
pub mod task;
326326

@@ -337,7 +337,10 @@ pub mod io;
337337
#[cfg(feature = "io")]
338338
#[cfg(feature = "std")]
339339
#[doc(hidden)]
340-
pub use crate::io::{AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt};
340+
pub use crate::io::{
341+
AsyncBufRead, AsyncBufReadExt, AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, AsyncWrite,
342+
AsyncWriteExt,
343+
};
341344

342345
#[cfg(feature = "alloc")]
343346
pub mod lock;

0 commit comments

Comments
 (0)