Skip to content

Commit

Permalink
Reexport non-Ext traits from the root of futures_util
Browse files Browse the repository at this point in the history
  • Loading branch information
coolreader18 committed Mar 22, 2021
1 parent e22f853 commit a2e7a47
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions futures-util/src/lib.rs
Expand Up @@ -309,18 +309,18 @@ macro_rules! delegate_all {

pub mod future;
#[doc(hidden)]
pub use crate::future::{FutureExt, TryFutureExt};
pub use crate::future::{Future, FutureExt, TryFuture, TryFutureExt};

pub mod stream;
#[doc(hidden)]
pub use crate::stream::{StreamExt, TryStreamExt};
pub use crate::stream::{Stream, StreamExt, TryStream, TryStreamExt};

#[cfg(feature = "sink")]
#[cfg_attr(docsrs, doc(cfg(feature = "sink")))]
pub mod sink;
#[cfg(feature = "sink")]
#[doc(hidden)]
pub use crate::sink::SinkExt;
pub use crate::sink::{Sink, SinkExt};

pub mod task;

Expand All @@ -337,7 +337,10 @@ pub mod io;
#[cfg(feature = "io")]
#[cfg(feature = "std")]
#[doc(hidden)]
pub use crate::io::{AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt};
pub use crate::io::{
AsyncBufRead, AsyncBufReadExt, AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, AsyncWrite,
AsyncWriteExt,
};

#[cfg(feature = "alloc")]
pub mod lock;
Expand Down

0 comments on commit a2e7a47

Please sign in to comment.