[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.byteorder]
features = ["i128"]
version = "1.5"
[dependencies.hex]
version = "0.4"
[dependencies.redis]
features = ["tokio-comp", "tokio-rustls-comp", "aio"]
optional = true
version = "0.27.5"
[dependencies.sqlx]
features = ["runtime-tokio", "tls-rustls", "mysql"]
optional = true
version = "0.8.2"
[dependencies.tokio]
features = ["sync"]
version = "1.41"
[dev-dependencies.rand]
version = "0.8.5"
[dev-dependencies.serde]
features = ["derive"]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
features = ["full"]
version = "1.41.1"
[[example]]
name = "memory"
path = "examples/memory.rs"
[features]
default = ["full"]
full = ["redis", "mysql"]
mysql = ["sqlx"]
[lib]
name = "cache_any"
path = "src/lib.rs"
[package]
authors = ["caojen <caojen@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "A cache library for Rust"
edition = "2021"
keywords = ["cache", "async", "redis", "mysql"]
license = "MIT"
name = "cache-any"
readme = "README.md"
repository = "https://github.com/caojen/cache-any"
resolver = "2"
version = "1.1.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]