serde-RESP

Redis RESP protocol serialization and deserialization with serde. Read Specification

[dependencies] serde-resp = "0.1.0"

Usage

IMPORTANT: Do NOT serialize and deserialize with any other types besides RESPType! You may get panic or incorrect results!

Here are the RESP types and their corresponding Rust types for serde.

To serialize, use ser::tostring or ser::towriter.

To deserialize, use ser::frombufreader.

For usage examples, refer to https://docs.rs/serderesp/0.1.0/serderesp/enum.RESPType.html

Examples & Documentation

https://docs.rs/serderesp/0.1.0/serderesp