shardcache_client_rs/
lib.rs1#![doc = include_str!("../README.md")]
2
3mod client;
4mod commands;
5mod connection;
6mod error;
7mod protocol;
8#[cfg(feature = "redis")]
9mod redis;
10mod routing;
11
12pub use client::{ShardCacheClient, ShardCacheDirectClient, ShardCacheDirectShardClient};
13#[cfg(feature = "redis")]
14pub use commands::redis::{RedisCommandKind, RedisResponse};
15pub use error::{Result, ShardCacheClientError};
16#[cfg(feature = "redis")]
17pub use redis::{Redis, RedisArg, RedisCmd, RedisCommandExecutor};
18pub use routing::{
19 ShardCacheDirectRouter, ShardCacheRoute, ShardCacheRouteMode, hash_key, hash_key_tag,
20 shard_index,
21};