sockudo-cache 3.2.0

Cache manager implementations for Sockudo
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.90"
name = "sockudo-cache"
version = "3.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cache manager implementations for Sockudo"
readme = false
license-file = "LICENSE"
repository = "https://github.com/sockudo/sockudo"

[features]
default = ["local"]
full = [
    "redis",
    "redis-cluster",
]
local = []
redis = [
    "sockudo-core/redis",
    "dep:redis",
]
redis-cluster = [
    "redis",
    "sockudo-core/redis-cluster",
]

[lib]
name = "sockudo_cache"
path = "src/lib.rs"

[dependencies.ahash]
version = "0.8.12"
features = ["serde"]

[dependencies.async-trait]
version = "0.1.89"

[dependencies.moka]
version = "0.12.11"
features = [
    "future",
    "sync",
]

[dependencies.redis]
version = "^1"
features = [
    "tokio-comp",
    "json",
    "cluster",
    "cluster-async",
    "tls-rustls",
    "tokio-rustls-comp",
    "tls-rustls-webpki-roots",
    "connection-manager",
]
optional = true

[dependencies.sockudo-core]
version = "=3.2.0"

[dependencies.tokio]
version = "^1"
features = [
    "full",
    "tracing",
]

[dependencies.tracing]
version = "0.1"