Document the optional 'serde' feature

This commit is contained in:
Matt Brubeck
2020-06-05 13:20:53 -07:00
parent 94872b71fd
commit 3d9cc9a950
+5
View File
@@ -16,6 +16,11 @@
//!
//! ## Optional features
//!
//! ### `serde`
//!
//! When this optional dependency is enabled, `SmallVec` implements the `serde::Serialize` and
//! `serde::Deserialize` traits.
//!
//! ### `write`
//!
//! When this feature is enabled, `SmallVec<[u8; _]>` implements the `std::io::Write` trait.