Expand description
§Muxis
High-performance Redis client library for Rust with multiplexing, automatic standalone/cluster detection, and full feature coverage.
§Features
tls- TLS/SSL supportresp3- RESP3 protocol supportcluster- Cluster mode supportjson- RedisJSON commandsstreams- Redis Streams commandstracing- Observability
§Example
use muxis::Client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut client = Client::connect("redis://localhost:6379").await?;
let _ = client.ping().await?;
Ok(())
}Structs§
- Client
- High-level Redis client for standalone connections.
- Client
Builder - Builder for configuring and creating a
Clientconnection.
Enums§
- Error
- Errors that can occur when interacting with Redis protocol.
Type Aliases§
- Result
- Result type alias for muxis operations.