diff --git a/src/bytes.rs b/src/bytes.rs index f68e971f..1d619529 100644 --- a/src/bytes.rs +++ b/src/bytes.rs @@ -1,3 +1,5 @@ +//! Helper module to enable serializing bytes more efficiently + use std::ops; use ser; diff --git a/src/de/mod.rs b/src/de/mod.rs index 5b426d22..d8417292 100644 --- a/src/de/mod.rs +++ b/src/de/mod.rs @@ -1,3 +1,5 @@ +//! Generic deserialization framework. + use std::str; pub mod impls; diff --git a/src/lib.rs b/src/lib.rs index 1909fe0d..77bec3b1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,11 @@ +//! Serde Serialization Framework +//! +//! Serde is a powerful framework that enables serialization libraries to generically serialize +//! Rust data structures without the overhead of runtime type information. In many situations, the +//! handshake protocol between serializers and serializees can be completely optimized away, +//! leaving serde to perform roughly the same speed as a hand written serializer for a specific +//! type. + #![feature(collections, convert, core, std_misc, unicode)] extern crate unicode; diff --git a/src/ser/mod.rs b/src/ser/mod.rs index 2b046bd7..88ad6af4 100644 --- a/src/ser/mod.rs +++ b/src/ser/mod.rs @@ -1,3 +1,5 @@ +//! Generic serialization framework. + use std::str; pub mod impls;