# 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"
rust-version = "1.80"
name = "cedros-pay"
version = "1.1.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cedros Pay - Payment processing library and server"
readme = "README.md"
license = "MIT OR Apache-2.0"

[features]
default = []

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

[[bin]]
name = "cedros-pay-server"
path = "src/main.rs"

[[bin]]
name = "migrate"
path = "src/bin/migrate.rs"

[dependencies.aes-gcm]
version = "0.10"

[dependencies.anyhow]
version = "1"

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

[dependencies.axum]
version = "0.8"
features = [
    "macros",
    "json",
]

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1"

[dependencies.bs58]
version = "0.5"

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

[dependencies.config]
version = "0.14"
features = ["yaml"]

[dependencies.ed25519-dalek]
version = "2"

[dependencies.futures-util]
version = "0.3"

[dependencies.hmac]
version = "0.12"

[dependencies.http-body-util]
version = "0.1"

[dependencies.indexmap]
version = "2"

[dependencies.jsonwebtoken]
version = "9"

[dependencies.lettre]
version = "0.11"
features = [
    "tokio1-rustls-tls",
    "smtp-transport",
    "builder",
]
default-features = false

[dependencies.lru]
version = "0.12"

[dependencies.mpl-core]
version = "0.11"

[dependencies.parking_lot]
version = "0.12"

[dependencies.prometheus]
version = "0.13"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "gzip",
    "stream",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"

[dependencies.sha2]
version = "0.10"

[dependencies.solana-rpc-client]
version = "2"

[dependencies.solana-rpc-client-api]
version = "2"

[dependencies.solana-sdk]
version = "2"

[dependencies.solana-transaction-status-client-types]
version = "2"

[dependencies.spl-associated-token-account]
version = "4"

[dependencies.spl-memo]
version = "5"

[dependencies.spl-token]
version = "6"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "chrono",
    "uuid",
    "json",
    "migrate",
]

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.21"
features = ["rustls-tls-native-roots"]

[dependencies.tower]
version = "0.5"
features = [
    "util",
    "timeout",
    "limit",
]

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
    "request-id",
    "timeout",
    "limit",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
    "json",
]

[dependencies.url]
version = "2"

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

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

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

[dev-dependencies.tempfile]
version = "3.23.0"
