# 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 = "fogo-paymaster"
version = "0.5.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fogo paymaster service and transaction validator CLI"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/fogo-foundation/fogo-sessions"

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

[[bin]]
name = "fogo-paymaster"
path = "src/main.rs"

[[bin]]
name = "paymaster-config-sync"
path = "src/bin/config_sync.rs"

[[bin]]
name = "paymaster-tx-validator"
path = "src/bin/tx_validator.rs"

[dependencies.anchor-lang]
version = "0.31.1"

[dependencies.anyhow]
version = "1.0.100"

[dependencies.arc-swap]
version = "1.7.1"

[dependencies.async-recursion]
version = "1.1.1"

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

[dependencies.axum]
version = "0.8.4"

[dependencies.axum-extra]
version = "0.10.1"
features = ["typed-header"]

[dependencies.axum-prometheus]
version = "0.9.0"

[dependencies.base64]
version = "0.22.1"

[dependencies.bincode]
version = "2.0.1"
features = ["serde"]

[dependencies.borsh]
version = "1.5.7"

[dependencies.bytemuck]
version = "1.23.1"

[dependencies.clap]
version = "4.5.51"
features = [
    "derive",
    "env",
]

[dependencies.config]
version = "0.15.13"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.fogo-sessions-sdk]
version = "0.7.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.governor]
version = "0.6.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.intent-transfer]
version = "0.1.0"

[dependencies.libsecp256k1]
version = "0.6.0"

[dependencies.nonempty]
version = "0.12.0"

[dependencies.opentelemetry]
version = "0.30.0"

[dependencies.opentelemetry-otlp]
version = "0.30.0"
features = ["grpc-tonic"]

[dependencies.opentelemetry_sdk]
version = "0.30.0"
features = ["rt-tokio"]

[dependencies.reqwest]
version = "0.12.24"

[dependencies.reqwest-middleware]
version = "0.4.2"

[dependencies.serde]
version = "1.0.228"

[dependencies.serde_json]
version = "1.0.145"

[dependencies.serde_with]
version = "3.14.0"
features = ["base64"]

[dependencies.solana-address-lookup-table-interface]
version = "2.2.1"

[dependencies.solana-client]
version = "2.2.1"

[dependencies.solana-commitment-config]
version = "2.2.1"

[dependencies.solana-compute-budget-interface]
version = "2.2.1"
features = [
    "serde",
    "borsh",
]

[dependencies.solana-derivation-path]
version = "2.2.1"

[dependencies.solana-ed25519-program]
version = "2.2.1"

[dependencies.solana-hash]
version = "2.2.1"

[dependencies.solana-keypair]
version = "2.2.1"
features = ["seed-derivable"]

[dependencies.solana-message]
version = "2.2.1"

[dependencies.solana-packet]
version = "2.2.1"

[dependencies.solana-program]
version = "2.2.1"

[dependencies.solana-pubkey]
version = "2.2.1"

[dependencies.solana-pubsub-client]
version = "2.2.1"

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

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

[dependencies.solana-sdk-ids]
version = "2.2.1"

[dependencies.solana-seed-derivable]
version = "2.2.1"

[dependencies.solana-seed-phrase]
version = "2.2.1"

[dependencies.solana-signature]
version = "2.2.1"

[dependencies.solana-signer]
version = "2.2.1"

[dependencies.solana-transaction]
version = "2.2.1"
features = ["bincode"]

[dependencies.solana-transaction-error]
version = "2.2.1"

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

[dependencies.spl-associated-token-account]
version = "6.0.0"
features = ["no-entrypoint"]

[dependencies.sqlx]
version = "0.8"
features = [
    "postgres",
    "runtime-tokio",
    "tls-native-tls",
    "uuid",
]

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

[dependencies.tower-http]
version = "0.6.6"
features = ["cors"]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-opentelemetry]
version = "0.31.0"

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

[dependencies.url]
version = "2.5.7"

[dependencies.utoipa]
version = "5.4.0"

[dependencies.utoipa-axum]
version = "0.2.0"

[dependencies.uuid]
version = "1.18.1"
features = ["v4"]
