# 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 = "allenhark-slipstream"
version = "0.3.8"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Slipstream client SDK for Rust - Solana transaction relay"
readme = "README.md"
keywords = [
    "solana",
    "sdk",
    "rpc",
    "grpc",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/AllenHark-Inc/slipstream-sdk-rust"

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

[[example]]
name = "advanced_config"
path = "examples/advanced_config.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "billing"
path = "examples/billing.rs"

[[example]]
name = "broadcast_tx"
path = "examples/broadcast_tx.rs"

[[example]]
name = "deduplication"
path = "examples/deduplication.rs"

[[example]]
name = "leader_hints"
path = "examples/leader_hints.rs"

[[example]]
name = "priority_fees"
path = "examples/priority_fees.rs"

[[example]]
name = "signer_integration"
path = "examples/signer_integration.rs"

[[example]]
name = "streaming_callbacks"
path = "examples/streaming_callbacks.rs"

[[example]]
name = "submit_transaction"
path = "examples/submit_transaction.rs"

[[example]]
name = "tip_instructions"
path = "examples/tip_instructions.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.21"

[dependencies.bs58]
version = "0.5"

[dependencies.bytes]
version = "1"

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

[dependencies.prost]
version = "0.12"

[dependencies.quinn]
version = "0.10"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.11"
features = ["json"]

[dependencies.rustls]
version = "0.21"
features = ["dangerous_configuration"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

[dependencies.tokio-stream]
version = "0.1"

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

[dependencies.tonic]
version = "0.11"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[build-dependencies.tonic-build]
version = "0.11"
