simulator-client 0.3.0

Async WebSocket client for the Solana simulator backtest API
Documentation
# 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 = "2024"
name = "simulator-client"
version = "0.3.0"
authors = ["Nitro Labs <team@nitro.technology>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async WebSocket client for the Solana simulator backtest API"
readme = false
keywords = [
    "solana",
    "simulator",
    "backtest",
    "websocket",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/nitro-svm/nitro-stream"
resolver = "2"

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bincode]
version = "2.0.1"
features = [
    "serde",
    "std",
    "alloc",
]

[dependencies.bon]
version = "3.7.2"

[dependencies.futures]
version = "0.3.31"

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

[dependencies.serde]
version = "1.0.219"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0.143"

[dependencies.simulator-api]
version = "0.3.0"

[dependencies.solana-address]
version = "1.0.0"
features = [
    "serde",
    "curve25519",
]

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

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

[dependencies.solana-loader-v3-interface]
version = "6.0.0"

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

[dependencies.thiserror]
version = "2.0.16"

[dependencies.tokio]
version = "1.47.1"
features = [
    "full",
    "time",
    "net",
    "rt",
    "macros",
]

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["rustls-tls-webpki-roots"]

[dependencies.tokio-util]
version = "0.7.16"

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.tokio]
version = "1.47.1"
features = [
    "full",
    "full",
]

[lints.clippy]
uninlined_format_args = "warn"
unused_async = "warn"