mirror of
https://github.com/openharmony/third_party_rust_rust-smallvec.git
synced 2026-07-19 23:03:32 -04:00
Document the optional 'serde' feature
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user