Skip to main content

Crate muxis

Crate muxis 

Source
Expand description

§Muxis

High-performance Redis client library for Rust with multiplexing, automatic standalone/cluster detection, and full feature coverage.

§Features

  • tls - TLS/SSL support
  • resp3 - RESP3 protocol support
  • cluster - Cluster mode support
  • json - RedisJSON commands
  • streams - Redis Streams commands
  • tracing - 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.
ClientBuilder
Builder for configuring and creating a Client connection.

Enums§

Error
Errors that can occur when interacting with Redis protocol.

Type Aliases§

Result
Result type alias for muxis operations.