# 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-redis"
version = "0.4.0"
authors = ["Iarla Crewe <iarla@pyra.fi>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared Redis client, key builders, and common operations for Pyra services"
readme = false
keywords = [
    "pyra",
    "solana",
    "token",
    "defi",
    "blockchain",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/pyra-labs/pyra-rust-sdk"

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

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

[dependencies.pyra-margin]
version = "0.4.0"

[dependencies.pyra-types]
version = "0.4.0"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.solana-pubkey]
version = "^2.2.0"
features = ["serde"]

[dependencies.thiserror]
version = "2"

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