doido-cache 0.0.4

Named cache stores, TTL — memory/Redis/Memcached backends in ActiveSupport::Cache fashion for Doido.
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 = "2021"
name = "doido-cache"
version = "0.0.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Named cache stores, TTL — memory/Redis/Memcached backends in ActiveSupport::Cache fashion for Doido."
readme = false
license = "MIT"

[features]
cache-memcache = [
    "dep:memcache",
    "dep:tokio",
]
cache-redis = ["dep:redis"]
default = []

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

[[test]]
name = "arc_store_test"
path = "tests/arc_store_test.rs"

[[test]]
name = "cache_test"
path = "tests/cache_test.rs"

[[test]]
name = "config_test"
path = "tests/config_test.rs"

[[test]]
name = "global_init_test"
path = "tests/global_init_test.rs"

[[test]]
name = "global_test"
path = "tests/global_test.rs"

[[test]]
name = "memory_test"
path = "tests/memory_test.rs"

[[test]]
name = "namespaced_test"
path = "tests/namespaced_test.rs"

[[test]]
name = "registry_test"
path = "tests/registry_test.rs"

[[test]]
name = "store_test"
path = "tests/store_test.rs"

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

[dependencies.doido-core]
version = "0.0.4"

[dependencies.memcache]
version = "0.17"
optional = true

[dependencies.redis]
version = "0.27"
features = [
    "tokio-comp",
    "aio",
]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_norway]
version = "0.9"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "rt",
]
optional = true

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.doido-core]
version = "0.0.4"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "macros",
    "rt",
    "time",
]