Re-export all decoding funcs/structs at crate root

This commit is contained in:
Ivan Smirnov 2022-01-02 00:03:58 +03:00
parent 074fc72b22
commit 21b06f37e0

View file

@ -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;