Skip to content

0.8.1

Compare
Choose a tag to compare
@mcatanzariti mcatanzariti released this 08 Feb 17:51
· 99 commits to main since this release
dbd7859
  • integrated serde
    • serde Deserializers implementation over a RESP buffer (byte slice) & a resp::Value reference
    • Direct conversion between a RESP buffer and a target Rust type without using an intermediate resp::Value instance. The main benefit is to trigger less allocations
    • Removed trait resp::FromValue. resp::Value::into is now based on serde.
    • Introduced traits Response, PrimitiveResponse, CollectionResponse & KeyValueCollectionResponse in replacement of FromValue, FromSingleValue, FromValueArray, FromKeyValueArray. The are marker traits to give flexibility and control in built-in commands implementation
    • Introduced RespBuf struct to represent a RESP Buffer based on a Bytes struct with helper methods
  • Simplified PubSub message parsing