kresp 0.1.2

My simple and ergonomic Rust crate for working with the REdis Serialization Protocol (RESP)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! 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.

mod buffer;
mod config;
mod parser;
mod resp;

pub use config::RespConfig;
pub use parser::{ParserError, RespParser};
pub use resp::RespType;