redis_asyncx/
lib.rs

1//! An asynchronous Redis client library for Rust.
2//!
3//! # Basic usage
4//!
5//! ## Examples
6//!
7//! # TLS/SSL
8//!
9//! # Connection pooling
10//!
11//! # Asynchronous operations
12//!
13//! By default, the client runs in asynchronous mode. This means that all
14//! operations are non-blocking and return a `Future` that can be awaited.
15//!
16//! # Pipelining
17//!
18//! # Transaction
19//!
20//! # Pub/Sub
21//!
22//! # RESP2/RESP3
23//!
24//! RESP version is set per connection. By default, the connection runs in RESP2 mode. RESP3 can be
25//! enabled by sending `HELLO 3` to the server. You can use `client.hello(Some(3))` to achieve it.
26//! Note that RESP3 is only available in Redis 6.0 and later.
27
28mod connection;
29pub use connection::Connection;
30
31mod frame;
32pub use frame::Frame;
33
34mod cmd;
35
36mod client;
37pub use client::Client;
38
39mod error;
40pub use error::{RedisError, Result};