From 3d9cc9a9506549a4e0a3a711dd5962e3b770264c Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Fri, 5 Jun 2020 13:20:53 -0700 Subject: [PATCH] Document the optional 'serde' feature --- lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib.rs b/lib.rs index fbf46c0..f04fe61 100644 --- a/lib.rs +++ b/lib.rs @@ -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.