Add serde support behind serde feature (#96)

This commit is contained in:
Arthur Silva
2017-05-02 10:51:52 -07:00
committed by Carl Lerche
parent 37f6cabd96
commit b196559818
7 changed files with 124 additions and 3 deletions
+5
View File
@@ -93,3 +93,8 @@ mod debug;
pub use bytes::{Bytes, BytesMut};
pub use byteorder::{ByteOrder, BigEndian, LittleEndian};
// Optional Serde support
#[cfg(feature = "serde")]
#[doc(hidden)]
pub mod serde;