[package]
edition = "2024"
name = "barter-data"
version = "0.11.0"
authors = ["JustAStream <justastream.code@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High performance & normalised WebSocket intergration for leading cryptocurrency exchanges - batteries included."
documentation = "https://docs.rs/barter-data"
readme = "README.md"
keywords = [
"trading",
"backtesting",
"crypto",
"stocks",
"investment",
]
categories = [
"accessibility",
"simulation",
]
license = "MIT"
repository = "https://github.com/barter-rs/barter-rs"
[lib]
name = "barter_data"
path = "src/lib.rs"
[[example]]
name = "dynamic_multi_stream_multi_exchange"
path = "examples/dynamic_multi_stream_multi_exchange.rs"
[[example]]
name = "indexed_market_stream"
path = "examples/indexed_market_stream.rs"
[[example]]
name = "multi_stream_multi_exchange"
path = "examples/multi_stream_multi_exchange.rs"
[[example]]
name = "order_books_l1_streams"
path = "examples/order_books_l1_streams.rs"
[[example]]
name = "order_books_l1_streams_multi_exchange"
path = "examples/order_books_l1_streams_multi_exchange.rs"
[[example]]
name = "order_books_l2_manager"
path = "examples/order_books_l2_manager.rs"
[[example]]
name = "order_books_l2_streams"
path = "examples/order_books_l2_streams.rs"
[[example]]
name = "public_trades_streams"
path = "examples/public_trades_streams.rs"
[[example]]
name = "public_trades_streams_multi_exchange"
path = "examples/public_trades_streams_multi_exchange.rs"
[dependencies.async-trait]
version = "0.1.83"
[dependencies.barter-instrument]
version = "0.3"
[dependencies.barter-integration]
version = "0.10"
features = [
"channel",
"collection",
"error",
"protocol",
"serde",
"subscription",
"stream",
]
[dependencies.barter-macro]
version = "0.2.0"
[dependencies.chrono]
version = "0.4.39"
features = [
"serde",
"serde",
]
[dependencies.derive_more]
version = "2.0.1"
features = [
"constructor",
"display",
"from",
]
[dependencies.fnv]
version = "1.0.7"
[dependencies.futures]
version = "0.3.31"
[dependencies.futures-util]
version = "0.3.31"
[dependencies.itertools]
version = "0.14.0"
[dependencies.parking_lot]
version = "0.12.3"
[dependencies.reqwest]
version = "0.12.9"
features = [
"rustls-tls",
"json",
]
default-features = false
[dependencies.rust_decimal]
version = "1.36.0"
features = [
"maths",
"serde-with-str",
]
[dependencies.serde]
version = "1.0.216"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1.0.133"
[dependencies.smol_str]
version = "0.3.2"
features = ["serde"]
[dependencies.thiserror]
version = "2.0.8"
[dependencies.tokio]
version = "1.42"
features = [
"macros",
"net",
"rt-multi-thread",
"signal",
"time",
"sync",
"macros",
"rt-multi-thread",
]
default-features = false
[dependencies.tokio-stream]
version = "0.1.17"
features = ["sync"]
[dependencies.tracing]
version = "0.1.41"
[dependencies.url]
version = "2.5.4"
[dependencies.vecmap-rs]
version = "0.2.2"
[dev-dependencies.rust_decimal_macros]
version = "1.29.1"
[dev-dependencies.tracing-subscriber]
version = "0.3.19"
features = [
"env-filter",
"json",
]