Make error module public

This commit is contained in:
SethDusek 2017-06-19 07:21:43 +05:00
parent aa240f1f7b
commit cf3789564e

View file

@ -13,7 +13,7 @@ extern crate rayon;
extern crate zopfli; extern crate zopfli;
use deflate::Deflaters; use deflate::Deflaters;
use error::PngError; pub use error::PngError;
use image::{GenericImage, Pixel, ImageFormat}; use image::{GenericImage, Pixel, ImageFormat};
use headers::Headers; use headers::Headers;
use png::PngData; use png::PngData;
@ -25,7 +25,7 @@ use std::path::{Path, PathBuf};
pub mod colors; pub mod colors;
pub mod deflate; pub mod deflate;
mod error; pub mod error;
mod filters; mod filters;
pub mod headers; pub mod headers;
mod interlace; mod interlace;