Releases: ofersadan85/rediserde
Releases · ofersadan85/rediserde
v0.2.0 - Avoid allocations
- Main change: use
str::from_utf8instead ofString::from_utf8wherever possible. This will avoid unnecessary allocations. - This also allowed direct usage of
&[u8]instead ofVec<u8>in multiple places, for additional efficiency.
Breaking Change
- Removed (undocumented)
to_utf8_lossyfunction 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
Some fixes / additions:
- Fixed support to deserialize RESP
AttributesasMaps (i.e. can now be used to create structs,HashMaps etc.) - Fixed support to deserialize RESP
SetandPushasArrays (i.e. can now be used to create sequences -Vec<T>,HashSet<T>etc.) - Added lots of docs.
Links
- Full docs: docs.rs/rediserde.
- Repository: github.com/ofersadan85/rediserde.
- Crate: crates.io/crates/rediserde.
Full Changelog: v0.1.0...v0.1.1
v0.1.0 - First release
This is this crate's first release, more to come soon!
- Full docs: docs.rs/rediserde.
- Repository: github.com/ofersadan85/rediserde.
- Crate: crates.io/crates/rediserde.
Full Changelog: https://github.com/ofersadan85/rediserde/commits/v0.1.0