Skip to content

Releases: jonasbb/serde_with

serde_with v1.6.2

30 Jan 23:50
c7a69e1
Compare
Choose a tag to compare

Added

  • New function serde_with::rust::deserialize_ignore_any.
    This function allows deserializing any data and returns the default value of the type.
    This can be used in conjunction with #[serde(other)] to allow deserialization of unknown data carrying enum variants.

    Thanks to @lovasoa for suggesting and implementing it.

serde_with v1.6.1

24 Jan 20:15
765fb8e
Compare
Choose a tag to compare

Added

  • Add new types similar to DurationSeconds and TimestampSeconds but for base units of milliseconds, microseconds, and nanoseconds.
    The *WithFrac variants also exist.
  • Add SerializeAs implementation for references.

Changed

  • Release Sized trait bound from As, Same, SerializeAs, and SerializeAsWrap.
    Only the serialize part is relaxed.