Skip to content

serde_with v1.6.2

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Jan 23:50
c7a69e1

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.