From 21b06f37e027da690b274867cc721a7bf475b795 Mon Sep 17 00:00:00 2001 From: Ivan Smirnov Date: Sun, 2 Jan 2022 00:03:58 +0300 Subject: [PATCH] Re-export all decoding funcs/structs at crate root --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 4590249..0f536a0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,7 +21,9 @@ mod utils; pub mod consts; pub use crate::colorspace::ColorSpace; -pub use crate::decode::{qoi_decode_header, qoi_decode_to_vec}; +pub use crate::decode::{ + qoi_decode_header, qoi_decode_to_buf, qoi_decode_to_vec, QoiDecoder, QoiStreamDecoder, +}; pub use crate::encode::{encode_size_required, qoi_encode_to_buf, qoi_encode_to_vec}; pub use crate::error::{Error, Result}; pub use crate::header::Header;