cached 0.45.1

Generic cache implementations and simplified function memoization
Documentation
[[example]]
name = "redis"
required-features = ["redis_store", "proc_macro"]

[[example]]
name = "redis-async"
required-features = ["async", "proc_macro"]

[[example]]
name = "tokio"
required-features = ["async", "proc_macro"]

[[example]]
name = "async_std"
required-features = ["async", "proc_macro"]
[dependencies.async-trait]
optional = true
version = "0.1"

[dependencies.cached_proc_macro]
optional = true
version = "0.18.0"

[dependencies.cached_proc_macro_types]
optional = true
version = "0.1.0"

[dependencies.futures]
default-features = false
optional = true
version = "0.3"

[dependencies.hashbrown]
default-features = false
features = ["raw", "inline-more"]
version = "0.13"

[dependencies.instant]
version = "0.1"

[dependencies.once_cell]
version = "1"

[dependencies.r2d2]
optional = true
version = "0.8"

[dependencies.redis]
features = ["r2d2"]
optional = true
version = "0.23"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"

[dependencies.serde_json]
optional = true
version = "1.0"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
features = ["macros", "time", "sync", "parking_lot"]
optional = true
version = "1"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.6"

[dev-dependencies.serial_test]
version = "2"

[dev-dependencies.smartstring]
version = "1"

[features]
async = ["futures", "tokio", "async-trait"]
async_tokio_rt_multi_thread = ["async", "tokio/rt-multi-thread"]
default = ["proc_macro"]
proc_macro = ["cached_proc_macro", "cached_proc_macro_types"]
redis_ahash = ["redis_store", "redis/ahash"]
redis_async_std = ["redis_store", "async", "redis/aio", "redis/async-std-comp", "redis/tls", "redis/async-std-tls-comp"]
redis_connection_manager = ["redis_store", "redis/connection-manager"]
redis_store = ["redis", "r2d2", "serde", "serde_json"]
redis_tokio = ["redis_store", "async", "redis/aio", "redis/tokio-comp", "redis/tls", "redis/tokio-native-tls-comp"]
wasm = ["instant/wasm-bindgen"]

[package]
authors = ["James Kominick <james@kominick.com>"]
categories = ["caching", "data-structures"]
description = "Generic cache implementations and simplified function memoization"
documentation = "https://docs.rs/cached"
edition = "2018"
keywords = ["caching", "cache", "memoize", "lru", "redis"]
license = "MIT"
name = "cached"
readme = "README.md"
repository = "https://github.com/jaemk/cached"
version = "0.45.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]