Registry / database / redis-cluster-async

redis-cluster-async

JSON →
library0.8.1rscratesunverified

An async Redis cluster driver for Rust, supporting sharded operations.

# Cargo.toml [dependencies] redis_cluster_async = "0.8.1"
INSTALL
IMPORT
SIG · REDIS-CLUSTER-ASYN
R
redis-cluster-async
databaserustv0.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RedisClusterClient
use redis_cluster_async::RedisClusterClient;

Connect to a Redis cluster and set a key

use redis_cluster_async::RedisClusterClient; #[tokio::main] async fn main() { let client = RedisClusterClient::new(vec!["redis://127.0.0.1:7000"]).await.unwrap(); let _ = client.set("key", "value").await; }
Debug
Known issues
gotchaRequires a Tokio runtime; not compatible with other async runtimes
fix
Use #[tokio::main] or manually create a Tokio runtime
affects: >=0.1.0
Upgrade
Version history
0.8.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
9
Meta
1
Resources
redis-cluster-async — cargo add redis-cluster-async · libregistry