alpaca-data 0.10.2

High-performance Rust client for Alpaca Market Data 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 = "alpaca-data"
version = "0.10.2"
build = false
exclude = [
    "/.agents/**",
    "/.github/**",
    "/AGENTS.md",
    "/docs/superpowers/**",
    "/tools/docs/**",
    "/website/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Rust client for Alpaca Market Data API"
homepage = "https://wmzhai.github.io/alpaca-data-rs/"
documentation = "https://docs.rs/alpaca-data"
readme = "README.md"
keywords = [
    "alpaca",
    "market-data",
    "stocks",
    "options",
    "crypto",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wmzhai/alpaca-data-rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "crypto"
path = "benches/crypto.rs"
harness = false

[[bench]]
name = "news_corporate_actions"
path = "benches/news_corporate_actions.rs"
harness = false

[[bench]]
name = "options"
path = "benches/options.rs"
harness = false

[[bench]]
name = "shared_core"
path = "benches/shared_core.rs"
harness = false

[[bench]]
name = "stocks"
path = "benches/stocks.rs"
harness = false

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

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

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
]

[dev-dependencies.criterion]
version = "0.5"
features = [
    "cargo_bench_support",
    "async_tokio",
]
default-features = false

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

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