1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! Utility macros and types for Serde
//!
//! This crate provides some utility macros and types to be used with Serde.
//! It currently includes:
//!
//! * [`Obj`](enum.Obj.html) - A generic object that can hold any value deserialized via Serde.
//!
//! * [`serde_impl!`](macro.serde_impl!.html#using-the-macro) - A macro for implementing (de-)serialization
//!   via serde in common cases.
//!
//! # Using this crate
//! Since this crate provides macros, it must be included in a special way.
//!
//! ```ignore
//! #[macro_use] extern crate serde_utils;
//! ```

extern crate serde;
extern crate serde_bytes;

mod generic;
#[macro_use] mod macros;

pub use generic::Obj;