[package]
edition = "2024"
name = "alpaca-data"
version = "0.24.2"
authors = ["Weiming Zhai <wmzhai@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the Alpaca Market Data HTTP API"
homepage = "https://wmzhai.github.io/alpaca-rust/"
documentation = "https://docs.rs/alpaca-data"
readme = "README.md"
keywords = [
"alpaca",
"market-data",
"stocks",
"options",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wmzhai/alpaca-rust"
resolver = "2"
[lib]
name = "alpaca_data"
path = "src/lib.rs"
[[test]]
name = "corporate_actions_real_api"
path = "tests/corporate_actions_real_api.rs"
[[test]]
name = "news_real_api"
path = "tests/news_real_api.rs"
[[test]]
name = "options_real_api"
path = "tests/options_real_api.rs"
[[test]]
name = "stocks_real_api"
path = "tests/stocks_real_api.rs"
[dependencies.alpaca-core]
version = "0.24.2"
[dependencies.alpaca-http]
version = "0.24.2"
package = "alpaca-rest-http"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.rust_decimal]
version = "1.41"
features = [
"serde-with-arbitrary-precision",
"std",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["arbitrary_precision"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.dotenvy]
version = "0.15"
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dev-dependencies.rust_decimal]
version = "1.41"
features = [
"serde-with-arbitrary-precision",
"std",
]
default-features = false
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
features = ["arbitrary_precision"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"process",
"rt-multi-thread",
"sync",
"time",
]