# 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" rust-version = "1.75" name = "deadpool-redis" version = "0.18.0" authors = [ "Michael P. Jung ", "Subeom Choi ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Dead simple async pool for redis" readme = "README.md" keywords = [ "async", "redis", "pool", ] license = "MIT OR Apache-2.0" repository = "https://github.com/bikeshedder/deadpool" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "deadpool_redis" path = "src/lib.rs" [[test]] name = "redis" path = "tests/redis.rs" [[test]] name = "redis_cluster" path = "tests/redis_cluster.rs" [[test]] name = "redis_sentinel" path = "tests/redis_sentinel.rs" [dependencies.deadpool] version = "0.12.0" features = ["managed"] default-features = false [dependencies.redis] version = "0.27" features = ["aio"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true package = "serde" [dependencies.tokio] version = "1.0" optional = true default-features = false [dev-dependencies.config] version = "0.14" features = ["json"] [dev-dependencies.dotenvy] version = "0.15.0" [dev-dependencies.futures] version = "0.3.15" [dev-dependencies.redis] version = "0.27" features = ["tokio-comp"] default-features = false [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt-multi-thread", "sync", ] [features] cluster = ["redis/cluster-async"] default = ["rt_tokio_1"] rt_async-std_1 = [ "deadpool/rt_async-std_1", "redis/async-std-comp", ] rt_tokio_1 = [ "deadpool/rt_tokio_1", "redis/tokio-comp", ] sentinel = [ "redis/sentinel", "tokio/sync", ] serde = [ "deadpool/serde", "dep:serde", ]