mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-27 00:00:17 +02:00
Add serde support behind serde feature (#96)
This commit is contained in:
committed by
Carl Lerche
parent
37f6cabd96
commit
b196559818
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user