github dahomey-technologies/rustis 0.8.1

latest releases: 0.13.3, 0.13.2, 0.13.1...
19 months ago
  • 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

Don't miss a new rustis release

NewReleases is sending notifications on new releases.