# 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"
rust-version = "1.95"
name = "sassi-cache-redis"
version = "0.1.0-beta.3"
authors = ["Tarunvir Bains"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Redis CacheBackend implementation for sassi with pub/sub invalidation."
homepage = "https://github.com/TarunvirBains/sassi"
readme = "README.md"
keywords = [
    "cache",
    "redis",
    "invalidation",
]
categories = ["caching"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TarunvirBains/sassi"
resolver = "2"

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

[[test]]
name = "redis_invalidation_stream"
path = "tests/redis_invalidation_stream.rs"

[dependencies.async-stream]
version = "0.3"

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

[dependencies.futures]
version = "0.3"

[dependencies.redis]
version = "1.2"
features = [
    "tokio-comp",
    "tokio-rustls-comp",
    "script",
]
default-features = false

[dependencies.sassi]
version = "0.1.0-beta.3"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.tokio]
version = "1.52"
features = [
    "sync",
    "rt",
    "time",
    "macros",
]
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1.52"
features = [
    "sync",
    "rt",
    "time",
    "macros",
]
default-features = false
