redisson 0.1.0

A Redis-based distributed synchronization and data structures library for Rust
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 = "redisson"
version = "0.1.0"
authors = ["mrpan <1049058427@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Redis-based distributed synchronization and data structures library for Rust"
homepage = "https://github.com/wslongchen/redisson.rs"
documentation = "https://docs.rs/redisson"
readme = "README.md"
keywords = [
    "redis",
    "distributed",
    "lock",
    "synchronization",
    "redisson",
]
categories = [
    "data-structures",
    "asynchronous",
    "database",
]
license = "MIT"
repository = "https://github.com/wslongchen/redisson.rs"

[features]
async = [
    "tokio/full",
    "async-trait",
    "futures",
    "deadpool",
    "tokio-stream",
]
caching = []
default = ["sync"]
full = [
    "sync",
    "async",
    "caching",
]
sync = ["r2d2"]

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

[[example]]
name = "advanced"
path = "examples/advanced.rs"

[[example]]
name = "async_usage"
path = "examples/async_usage.rs"
required-features = ["async"]

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "batch"
path = "examples/batch.rs"

[[bench]]
name = "redisson_benchmark"
path = "benches/redisson_benchmark.rs"
harness = false

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

[dependencies.bloom]
version = "0.3"

[dependencies.deadpool]
version = "0.10"
features = [
    "managed",
    "rt_tokio_1",
]
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.lru]
version = "0.16.3"

[dependencies.once_cell]
version = "1.18"

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.rand]
version = "0.8"

[dependencies.redis]
version = "1.0.2"
features = [
    "r2d2",
    "tokio-comp",
    "tokio-native-tls-comp",
    "cluster-async",
    "tls-rustls",
    "connection-manager",
    "sentinel",
    "streams",
    "cluster",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt",
    "sync",
    "time",
]
optional = true

[dependencies.tokio-stream]
version = "0.1.18"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
]

[dev-dependencies.criterion]
version = "0.8.1"
features = [
    "async",
    "async_futures",
]

[dev-dependencies.tokio]
version = "1.0"
features = ["full"]