# 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 = "ore-types"
version = "0.0.36"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Types for interacting with ORE backend infrasturcture"
homepage = "https://ore.supply"
documentation = "https://docs.rs/ore-types/latest/ore_types/"
readme = "README.md"
keywords = ["solana"]
license = "Apache-2.0"
repository = "https://github.com/regolith-labs/ore-infra"
resolver = "1"

[lib]
name = "ore_types"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4.35"
features = ["serde"]

[dependencies.redis]
version = "0.32.7"
features = [
    "tls",
    "tokio-native-tls-comp",
    "aio",
    "tokio-comp",
]
optional = true

[dependencies.redis-derive]
version = "0.2.0"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.solana-sdk]
version = "^2.1"

[features]
default = []
redis = [
    "dep:redis",
    "dep:redis-derive",
]
