Minimal serde_derive documentation

Fixes #886.
This commit is contained in:
David Tolnay 2017-04-19 14:43:46 -07:00
parent bc982f9757
commit d1253cb193
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -6,6 +6,16 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! This crate provides Serde's two derive macros.
//!
//! ```rust,ignore
//! #[derive(Serialize, Deserialize)]
//! ```
//!
//! Please refer to [https://serde.rs/derive.html] for how to set this up.
//!
//! [https://serde.rs/derive.html]: https://serde.rs/derive.html
#![doc(html_root_url = "https://docs.rs/serde_derive/0.9.14")]
#![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))]