baichun-framework-cache 0.1.0

Cache module for Baichun-Rust framework
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 = "baichun-framework-cache"
version = "0.1.0"
authors = ["fangbaichun"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cache module for Baichun-Rust framework"
documentation = "https://docs.rs/baichun-framework-cache"
readme = "README.md"
keywords = [
    "cache",
    "redis",
    "moka",
    "multilevel",
    "framework",
]
categories = [
    "caching",
    "database",
]
license = "MIT"
repository = "https://github.com/fangbaichun/ruoyi-rust"

[features]
default = ["local"]
full = [
    "local",
    "redis",
    "multilevel",
]
local = ["moka"]
multilevel = [
    "local",
    "redis",
]
redis = ["deadpool-redis"]

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.dashmap]
version = "5.5"

[dependencies.deadpool-redis]
version = "0.14"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.moka]
version = "0.12"
features = ["future"]
optional = true

[dependencies.redis]
version = "0.24"
features = ["tokio-comp"]

[dependencies.regex]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]