Cargo Features
Kash has no features set by default.
[dependencies]
kash = { version = "0.4.0", features = ["async", "redis_store", "redis_connection_manager", "redis_async_std", "redis_tokio", "redis_ahash", "disk_store"] }
- default
-
These default features are set whenever
kash
is added without
somewhere in the dependency tree.default-features = false moka:
Enable this feature to use
moka::sync::{Cache, SegmentedCache}
- async redis_async_std? redis_tokio?
-
moka:
Enable this feature to use
moka::future::Cache
.Affects
kash::IOKashAsync
… - redis_store redis_ahash? redis_async_std? redis_connection_manager? redis_tokio?
-
Enables r2d2, redis, rmp-serde, and serde, redis_store of kash_macros
- redis_connection_manager = redis_store
-
Enables connection-manager of redis
- redis_async_std = async, redis_store
-
Enables aio, async-std-comp, async-std-tls-comp and tls of redis
- redis_tokio = async, redis_store, tokio
-
Enables aio, tls, tokio-comp and tokio-native-tls-comp of redis
- redis_ahash = redis_store
- disk_store
-
Enables directories, rmp-serde, serde, and sled, disk_store of kash_macros
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- tokio redis_tokio?
-
Affects
kash::async_sync
…