Expand description
This is a small, streaming RESP (REdis Serialization Protocol) parser with a focus on simplicity and ergonomics.
I am working on an ergonomic async Redis client library, and built this as
a precursor step towards that goal. To work best in an asynchronous
settings, this library was designed for streaming from the start.
Incomplete buffers can be sent to the RespParser
, which will internally
preserve the buffers and parsing state to minimize re-parsing of incomplete
data that could stream over a network connection.
Structs§
- Resp
Config - Structure for memory limits per-parser
- Resp
Parser - The parser itself, use
RespParser::read
to provide it buffers to parse
Enums§
- Parser
Error - Error enumeration used when a parsing error occurs
- Resp
Type - Enum for RESP types