From 9c5a3296d25135936044c27c9d2eaf6b14c9d51f Mon Sep 17 00:00:00 2001 From: k-nasa Date: Sun, 8 Mar 2020 22:07:44 +0900 Subject: [PATCH] feat: some stream module to no-std --- src/stream/mod.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/stream/mod.rs b/src/stream/mod.rs index f1c5fdfd3..1247a3964 100644 --- a/src/stream/mod.rs +++ b/src/stream/mod.rs @@ -300,40 +300,40 @@ //! [`take`]: trait.Stream.html#method.take //! [`min`]: trait.Stream.html#method.min +pub use double_ended_stream::DoubleEndedStream; pub use empty::{empty, Empty}; +pub use exact_size_stream::ExactSizeStream; pub use from_fn::{from_fn, FromFn}; pub use from_iter::{from_iter, FromIter}; +pub use fused_stream::FusedStream; pub use once::{once, Once}; +pub use pending::{pending, Pending}; pub use repeat::{repeat, Repeat}; pub use repeat_with::{repeat_with, RepeatWith}; pub use stream::*; +pub use successors::{successors, Successors}; pub(crate) mod stream; +mod double_ended_stream; mod empty; +mod exact_size_stream; mod from_fn; mod from_iter; +mod fused_stream; mod once; +mod pending; mod repeat; mod repeat_with; +mod successors; cfg_std! { - pub use double_ended_stream::DoubleEndedStream; - pub use exact_size_stream::ExactSizeStream; - pub use fused_stream::FusedStream; pub use interval::{interval, Interval}; - pub use pending::{pending, Pending}; pub use product::Product; - pub use successors::{successors, Successors}; pub use sum::Sum; - mod double_ended_stream; - mod exact_size_stream; - mod fused_stream; mod interval; - mod pending; mod product; - mod successors; mod sum; }