# 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"
rust-version = "1.88"
name = "schwab-sdk"
version = "0.3.0"
authors = ["Jonathan Davis <jonathan.grady.davis@gmail.com>"]
build = false
include = [
    "/src/**",
    "/Cargo.toml",
    "/Cargo.lock",
    "/README.md",
    "/CHANGELOG.md",
    "/LICENSE-MIT",
    "/LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust client for the Charles Schwab Trader API and real-time market-data streaming."
homepage = "https://github.com/jonathan-g-davis/schwab-sdk"
readme = "README.md"
keywords = [
    "schwab",
    "trading",
    "brokerage",
    "finance",
    "websocket",
]
categories = [
    "api-bindings",
    "finance",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/jonathan-g-davis/schwab-sdk"

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

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

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
]
default-features = false

[dependencies.fastwebsockets]
version = "0.10.0"
features = [
    "unstable-split",
    "upgrade",
]

[dependencies.http]
version = "1.4.1"

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

[dependencies.hyper]
version = "1.10.0"
features = [
    "http1",
    "client",
]

[dependencies.hyper-util]
version = "0.1.20"
features = ["tokio"]

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "query",
]

[dependencies.rust_decimal]
version = "1.36"
features = ["serde-with-float"]

[dependencies.rustls-pki-types]
version = "1.14.1"

[dependencies.rustls-platform-verifier]
version = "0.7.0"

[dependencies.secrecy]
version = "0.10.3"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_repr]
version = "0.1.20"

[dependencies.serde_with]
version = "3.20.0"

[dependencies.strum]
version = "0.28.0"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "net",
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
]

[dependencies.tokio-rustls]
version = "0.26.4"

[dev-dependencies.arc-swap]
version = "1.7"

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

[dev-dependencies.rust_decimal_macros]
version = "1.36"

[dev-dependencies.tokio-tungstenite]
version = "0.27"

[dev-dependencies.wiremock]
version = "0.6"
