From 2fa83b0bbe214c43712d4ad0705b9486357887cb Mon Sep 17 00:00:00 2001 From: Michael Nitschinger Date: Mon, 8 Jun 2020 19:17:19 +0200 Subject: [PATCH] Pub expose InterruptibleStream and InputStream. (#1952) This allows crate users to make sure their long-running streams can be interrupted with ctrl-c. --- crates/nu-cli/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-cli/src/lib.rs b/crates/nu-cli/src/lib.rs index e840095ca8..cd923e2c19 100644 --- a/crates/nu-cli/src/lib.rs +++ b/crates/nu-cli/src/lib.rs @@ -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;