serde_transit/lib.rs
1extern crate serde;
2extern crate serde_json;
3
4// The serde_derive crate provides the macros for #[derive(Serialize)] and
5// #[derive(Deserialize)]. You won't need these for implementing a data format
6// but your unit tests will probably use them - hence #[cfg(test)].
7#[cfg(test)]
8#[macro_use]
9extern crate serde_derive;
10
11mod error;
12mod ser;
13mod de;
14
15pub use error::{Error, Result};
16pub use ser::{to_writer, Serializer};
17pub use de::{from_str, Deserializer};