mod liblz4;
mod decoder;
mod encoder;

pub use decoder::Decoder;
pub use encoder::Encoder;
pub use encoder::EncoderBuilder;
pub use liblz4::BlockSize;
pub use liblz4::BlockMode;
pub use liblz4::ContentChecksum;
pub use liblz4::version;

pub mod liblz4;
pub mod decoder;
pub mod encoder;

pub use decoder::Decoder;
pub use encoder::Encoder;
pub use encoder::EncoderBuilder;
pub use liblz4::BlockSize;
pub use liblz4::BlockMode;
pub use liblz4::ContentChecksum;
pub use liblz4::version;

--- 
+++ 
@@ -1,6 +1,6 @@
-mod liblz4;
-mod decoder;
-mod encoder;
+pub mod liblz4;
+pub mod decoder;
+pub mod encoder;
 
 pub use decoder::Decoder;
 pub use encoder::Encoder;
Hide modules from the public API, only the re-exports should be used
