From 70e7846d3a57a66f04a9eb147cc8df8b67d0cf47 Mon Sep 17 00:00:00 2001 From: Nathan Fisher Date: Fri, 7 Jul 2023 22:51:20 -0400 Subject: [PATCH] Export stream::Message enum --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 9b6f934..41832aa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,9 +27,12 @@ pub use { filetype::FileType, node::Node, special::Special, - stream::Stream, + stream::Stream }; +#[cfg(feature = "parallel")] +pub use stream::Message as StreamMessage; + pub static MAGIC: [u8; 7] = [0x89, b'h', b'a', b'g', b'g', b'i', b's' ]; /// Creates a haggis archive from a list of files