Remove async_stream_block from the prelude

... to indicate deprecation of its use
This commit is contained in:
est31 2019-09-26 02:35:38 +02:00
parent 9891e5ab81
commit 6aad0b8443
4 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,7 @@
use crate::commands::{RawCommandArgs, WholeStreamCommand};
use crate::errors::ShellError;
use crate::prelude::*;
use futures_async_stream::async_stream_block;
pub struct Autoview;

View file

@ -3,6 +3,7 @@ use crate::errors::ShellError;
use crate::parser::registry;
use crate::prelude::*;
use derive_new::new;
use futures_async_stream::async_stream_block;
use log::trace;
use serde::{self, Deserialize, Serialize};
use std::io::prelude::*;

View file

@ -2,6 +2,7 @@ use crate::commands::{UnevaluatedCallInfo, WholeStreamCommand};
use crate::data::Value;
use crate::errors::ShellError;
use crate::prelude::*;
use futures_async_stream::async_stream_block;
use std::path::{Path, PathBuf};
pub struct Save;

View file

@ -76,7 +76,6 @@ pub(crate) use async_stream::stream as async_stream;
pub(crate) use bigdecimal::BigDecimal;
pub(crate) use futures::stream::BoxStream;
pub(crate) use futures::{FutureExt, Stream, StreamExt};
pub(crate) use futures_async_stream::async_stream_block;
pub(crate) use num_bigint::BigInt;
pub(crate) use num_traits::cast::{FromPrimitive, ToPrimitive};
pub(crate) use num_traits::identities::Zero;