# 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 = "rithmic-rs"
version = "0.7.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the Rithmic R | Protocol API to build algo trading systems"
documentation = "https://docs.rs/rithmic-rs"
readme = "README.md"
keywords = [
    "trading",
    "rithmic",
    "algotrading",
    "algorithmic-trading",
    "automated-trading",
]
categories = [
    "api-bindings",
    "finance",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pbeets/rithmic-rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.prost]
version = "0.13.5"

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

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

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.19"

[dev-dependencies.dotenvy]
version = "0.15.7"

[build-dependencies.prost-build]
version = "0.13.5"
