parent
3a5162ba41
commit
5170d66d51
|
@ -1,11 +1,10 @@
|
||||||
//! An example showing off the usage of `Deserialize` to automatically decode
|
//! An example showing off the usage of `Deserialize` to automatically decode
|
||||||
//! TOML into a Rust `struct`
|
//! TOML into a Rust `struct`
|
||||||
//!
|
|
||||||
//! Note that this works similarly with `serde` as well.
|
|
||||||
|
|
||||||
#![deny(warnings)]
|
#![deny(warnings)]
|
||||||
|
|
||||||
extern crate toml;
|
extern crate toml;
|
||||||
|
extern crate serde;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate serde_derive;
|
extern crate serde_derive;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue