1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
mod error; mod format; /// Deserialization-related functionality. pub mod de; /// Serialization-related functionality. pub mod ser; #[doc(inline)] pub use de::{from_reader, from_str}; #[doc(inline)] pub use error::{Error, PolyResult as Result}; #[doc(inline)] pub use format::Format; #[doc(inline)] pub use ser::{to_string, to_vec, to_writer}; #[cfg(test)] mod tests;