# 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 = "pyra-streams"
version = "0.5.1"
authors = ["Iarla Crewe <iarla@pyra.fi>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Redis Stream consumer infrastructure for Pyra services"
readme = false
license = "MIT"
repository = "https://github.com/pyra-labs/pyra-rust-sdk"

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

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

[dependencies.deadpool-redis]
version = "0.22"

[dependencies.redis]
version = "0.32"
features = ["tokio-native-tls-comp"]

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "time",
    "rt",
    "macros",
    "time",
    "rt",
    "sync",
    "macros",
    "rt-multi-thread",
]

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
arithmetic_side_effects = "deny"
expect_used = "deny"
panic = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"

[lints.rust]
let_underscore_drop = "deny"
unused_must_use = "deny"
