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#[cfg(feature = "tls")]
12mod tls;
13
14pub use client::{
15 ShardCacheClient, ShardCacheDirectClient, ShardCacheDirectShardClient, ShardCacheTopology,
16};
17#[cfg(feature = "redis")]
18pub use commands::redis::{RedisCommandKind, RedisResponse};
19pub use error::{Result, ShardCacheClientError};
20#[cfg(feature = "redis")]
21pub use redis::{Redis, RedisArg, RedisCmd, RedisCommandExecutor};
22pub use routing::{
23 ShardCacheDirectRouter, ShardCacheRoute, ShardCacheRouteMode, hash_key, hash_key_tag,
24 shard_index,
25};
26#[cfg(feature = "tls")]
27pub use tls::ScnpTlsClientConfig;