[package]
edition = "2021"
name = "mercury-distributed-cache"
version = "4.12.15"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Opt-in distributed cache for Mercury: a Redis-backed L2 cache as ONE composable action function (v1.cache.redis) over opaque bytes, reachable from all three layers (import from the application, never the engine)"
readme = "README.md"
keywords = [
"redis",
"cache",
"distributed-cache",
"l2-cache",
"mercury",
]
categories = [
"caching",
"database",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/Accenture/mercury"
[lib]
name = "distributed_cache"
path = "src/lib.rs"
[[test]]
name = "cache"
path = "tests/cache.rs"
[[test]]
name = "cache_disabled"
path = "tests/cache_disabled.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.log]
version = "0.4"
[dependencies.mercury-platform-core]
version = "4.12.15"
[dependencies.mercury-redis-connection]
version = "4.12.15"
[dependencies.redis]
version = "1.5.0"
features = [
"tokio-comp",
"connection-manager",
"tokio-rustls-comp",
"cluster-async",
]
[dependencies.rmpv]
version = "1"
features = ["with-serde"]
[dependencies.tokio]
version = "1"
features = [
"rt",
"time",
"macros",
"sync",
]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"net",
"io-util",
"sync",
]
[dev-dependencies.uuid]
version = "1"
features = ["v4"]