Skip to content

Releases: ofersadan85/rediserde

v0.2.0 - Avoid allocations

12 Aug 15:49
a8e7c39

Choose a tag to compare

  • Main change: use str::from_utf8 instead of String::from_utf8 wherever possible. This will avoid unnecessary allocations.
  • This also allowed direct usage of &[u8] instead of Vec<u8> in multiple places, for additional efficiency.

Breaking Change

  • Removed (undocumented) to_utf8_lossy function since we only plan to support valid utf8 data for ease of use. We might introduce another serializer / deserializer that can handle arbitrary bytes later on, but this should be clear that it uses another implementation altogether.

Full Changelog: v0.1.1...v0.2.0

v0.1.1 - Fixed support for more types + docs

29 Jul 23:18
c40a1b9

Choose a tag to compare

Some fixes / additions:

  • Fixed support to deserialize RESP Attributes as Maps (i.e. can now be used to create structs, HashMaps etc.)
  • Fixed support to deserialize RESP Set and Push as Arrays (i.e. can now be used to create sequences - Vec<T>, HashSet<T> etc.)
  • Added lots of docs.

Links

Full Changelog: v0.1.0...v0.1.1

v0.1.0 - First release

29 Jul 14:03
752f3f8

Choose a tag to compare

This is this crate's first release, more to come soon!

Full Changelog: https://github.com/ofersadan85/rediserde/commits/v0.1.0