diff --git a/src/lib.rs b/src/lib.rs
index 820f49bf9b675a386c85d06a9696b57a4bc9176d..6fa8922224394fbb8eb02349081f8e2a30e0ca88 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2,8 +2,8 @@
 #![deny(warnings)]
 
 pub mod alloc;
-mod buf;
-mod str;
+pub mod buf;
+pub mod str;
 
 pub use buf::{
     Buf,