Add extern crate serde to examples/decode.rs

Closes #176
This commit is contained in:
Alex Crichton 2017-05-15 14:30:18 -07:00
parent 3a5162ba41
commit 5170d66d51

View file

@ -1,11 +1,10 @@
//! An example showing off the usage of `Deserialize` to automatically decode
//! TOML into a Rust `struct`
//!
//! Note that this works similarly with `serde` as well.
#![deny(warnings)]
extern crate toml;
extern crate serde;
#[macro_use]
extern crate serde_derive;