tvdata-rs 0.1.2

Async Rust client for TradingView screener queries, search, calendars, quote snapshots, and OHLCV history.
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"
rust-version = "1.85"
name = "tvdata-rs"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Rust client for TradingView screener queries, search, calendars, quote snapshots, and OHLCV history."
homepage = "https://github.com/Kluzko/tvdata-rs"
documentation = "https://docs.rs/tvdata-rs"
readme = "README.md"
keywords = [
    "tradingview",
    "market-data",
    "finance",
    "scanner",
    "stocks",
]
categories = [
    "api-bindings",
    "finance",
]
license = "MIT"
repository = "https://github.com/Kluzko/tvdata-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
calendar = []
crypto = []
default = [
    "search",
    "equity",
    "forex",
    "crypto",
    "calendar",
    "economics",
]
economics = []
equity = []
forex = []
search = []
tracing = ["dep:tracing"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bon]
version = "3.9.1"

[dependencies.futures-util]
version = "0.3.31"
features = [
    "sink",
    "std",
]
default-features = false

[dependencies.http]
version = "1.3.1"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.reqwest]
version = "0.12.15"
features = [
    "json",
    "rustls-tls",
    "http2",
]
default-features = false

[dependencies.reqwest-middleware]
version = "0.4.2"
features = ["json"]
default-features = false

[dependencies.reqwest-retry]
version = "0.7.0"
default-features = false

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.time]
version = "0.3.41"
features = [
    "formatting",
    "macros",
    "parsing",
    "serde",
]

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

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

[dependencies.tracing]
version = "0.1.41"
optional = true

[dependencies.url]
version = "2.5.8"

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