# 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 = "2024"
name = "neon-redis"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "redis toolkit"
readme = false
license = "MIT"
repository = "https://github.com/noble-gase/neon-rs"

[features]
cluster = [
    "redis/cluster",
    "redis/cluster-async",
]
default = []
sync-lock = [
    "dep:r2d2",
    "redis/r2d2",
]
tls-native-tls = ["redis/tokio-native-tls-comp"]
tls-rustls = ["redis/tokio-rustls-comp"]
tls-rustls-insecure = [
    "tls-rustls",
    "redis/tls-rustls-insecure",
]

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

[dependencies.anyhow]
version = "1"

[dependencies.neon-core]
version = "0"

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

[dependencies.redis]
version = "1"
features = [
    "tokio-comp",
    "script",
    "connection-manager",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.tokio]
version = "1"
features = ["macros"]
