Skip to content

Commit cd1fe7a

Browse files
committed
Document the optional 'serde' feature
1 parent ebbd78a commit cd1fe7a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
//!
1717
//! ## Optional features
1818
//!
19+
//! ### `serde`
20+
//!
21+
//! When this optional dependency is enabled, `SmallVec` implements the `serde::Serialize` and
22+
//! `serde::Deserialize` traits.
23+
//!
1924
//! ### `write`
2025
//!
2126
//! When this feature is enabled, `SmallVec<[u8; _]>` implements the `std::io::Write` trait.

0 commit comments

Comments
 (0)