Skip to content

[0.3.1] Fix serialization

Latest
Compare
Choose a tag to compare
@St4NNi St4NNi released this 25 Aug 18:57
83c37e7

This small update fixes the previously broken / improvised deserialization.

DieselUlid will now always serialize and deserialize to / from bytes. When deserializing from JSON this will test for regular bytes and afterwards try ULID crockford encoding and regular UUID string encoding as fallback.

Changes

  • Upgrade dependencies and version to 0.3.1
  • Added full deserializer including visitor for str string and bytes / u128
  • Update README