-
Notifications
You must be signed in to change notification settings - Fork 151
RUST-1748 Convert unsigned serde helpers to use serde_conv #574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUST-1748 Convert unsigned serde helpers to use serde_conv #574
Conversation
|
There is an existing patch(es) for this commit SHA: Please note that the status that is posted is not in the context of this PR but rather the (latest) existing patch and that may affect some tests that may depend on the particular PR. If your tests do not rely on any PR-specific values (like base or head branch name) then your tests will report the same status. If you would like a patch to run in the context of this PR and abort the other(s), comment 'evergreen retry'. |
Converted unsigned (
u32,u64) converter functions insrc/serde_helpers.rsto useserde_convmacro for serializing and deserializing optional and vector fields withserde_with.<T>,Option<T>, andVec<T>fields (de)serialized using structsu32_as_timestampu32::AsTimestamp(u32 → Timestamp)timestamp_as_u32u32::FromTimestamp(Timestamp → u32)u32_as_f64u32::AsF64(u32 → f64)serialize_u32_as_i32u32::AsI32(u32 → i32)serialize_u32_as_i64u32::AsI64(u32 → i64)u64_as_f64u64::AsF64(u64 → f64)serialize_u64_as_i32u64::AsI32(u64 → i32)serialize_u64_as_i64u64::AsI64(u64 → i64)Previously:
SerializeAsandDeserializeAstraits to support Optional and Vector conversions in PR #559serde_convmacro to support Rustdocs, refactored allObjectIdconverters in PR #566DateTimeconverters PR #570