br-cache 0.3.22

This is an Cache and Message Queue abstraction layer
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 = "br-cache"
version = "0.3.22"
authors = ["Carry <7991156@qq.com>"]
build = false
exclude = [
    "INSTALL.md",
    "examples",
    "tests",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This is an Cache and Message Queue abstraction layer"
readme = "README.md"
keywords = [
    "br",
    "cache",
    "redis",
    "kafka",
    "queue",
]
license = "MIT"

[features]
default = [
    "redis",
    "kafka",
]
kafka = ["dep:kafka"]
redis = [
    "dep:redis",
    "dep:r2d2",
]

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

[dependencies.json]
version = "0.12"

[dependencies.kafka]
version = "0.10"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.21.3"

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

[dependencies.redis]
version = "1.0"
features = [
    "geospatial",
    "r2d2",
]
optional = true

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

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

[dependencies.toml]
version = "0.9"

[dev-dependencies.env_logger]
version = "0.11"