v1.2.0
Description
The MongoDB Rust Driver team is pleased to announce the v1.2.0 release of the BSON library.
Release Notes
Serde Integration Improvements
This release contains several improvements to the library's integration with Serde.
- RUST-506 introduces
serde_helpers.rs
which contains severals functions and modules to assist in customizing serialization and deserialization of user data types. These functions and modules are compatible with the Serde serialize_with and Serde with field attributes, respectively. - RUST-507 implements automatic deserialization of BSON number types into unsigned integer types.
- RUST-602 implements automatic deserialization of the
ObjectId
type from a hexadecimal string.