Skip to content

serde_with v1.13.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Apr 12:07
· 618 commits to master since this release
v1.13.0
6fe1198

Added

  • Added support for indexmap::IndexMap and indexmap::IndexSet types. #431, #436

    Both types are now compatible with these functions: maps_duplicate_key_is_error, maps_first_key_wins, sets_duplicate_value_is_error, sets_last_value_wins.
    serde_as integration is provided by implementing both SerializeAs and DeserializeAs for both types.
    IndexMaps can also be serialized as a list of types via the serde_as(as = "Vec<(_, _)>") annotation.

    All implementations are gated behind the indexmap feature.

    Thanks to @jgrund for providing parts of the implementation.