Pub expose InterruptibleStream and InputStream. (#1952)

This allows crate users to make sure their long-running
streams can be interrupted with ctrl-c.
This commit is contained in:
Michael Nitschinger 2020-06-08 19:17:19 +02:00 committed by GitHub
parent bf459e09cb
commit 2fa83b0bbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ pub use crate::data::primitive;
pub use crate::data::value;
pub use crate::env::environment_syncer::EnvironmentSyncer;
pub use crate::env::host::BasicHost;
pub use crate::stream::OutputStream;
pub use crate::stream::{InputStream, InterruptibleStream, OutputStream};
pub use nu_value_ext::ValueExt;
pub use num_traits::cast::ToPrimitive;