-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
51 lines (47 loc) · 1.83 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "databento"
authors = ["Databento <support@databento.com>"]
version = "0.16.0"
edition = "2021"
repository = "https://github.com/databento/databento-rs"
description = "Official Databento client library"
license = "Apache-2.0"
# maximum of 5
keywords = ["real-time", "historical", "market-data", "trading", "tick-data"]
# see https://crates.io/category_slugs
categories = ["api-bindings", "finance"]
[package.metadata.docs.rs]
# Document all features on docs.rs
all-features = true
# To build locally: `RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --open`
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["historical", "live"]
historical = ["dep:futures", "dep:reqwest", "dep:serde", "dep:tokio-util", "dep:serde_json", "tokio/fs"]
live = ["dep:hex", "dep:sha2", "tokio/net"]
[dependencies]
dbn = { version = "0.23.1", features = ["async", "serde"] }
# Async stream trait
futures = { version = "0.3", optional = true }
# Used for Live authentication
hex = { version = "0.4", optional = true }
reqwest = { version = "0.12", optional = true, features = ["json", "stream"] }
serde = { version = "1.0", optional = true, features = ["derive"] }
serde_json = { version = "1.0", optional = true }
# Used for Live authentication
sha2 = { version = "0.10", optional = true }
thiserror = "1.0"
time = { version = ">=0.3.35", features = ["macros", "parsing", "serde"] }
tokio = { version = ">=1.28", features = ["io-util", "macros"] }
# Stream utils
tokio-util = { version = "0.7", features = ["io"], optional = true }
tracing = "0.1"
typed-builder = "0.20"
[dev-dependencies]
anyhow = "1.0.91"
async-compression = { version = "0.4.13", features = ["tokio", "zstd"] }
clap = { version = "4.5.20", features = ["derive"] }
tempfile = "3.13.0"
tokio = { version = "1.41", features = ["full"] }
tracing-subscriber = "0.3.18"
wiremock = "0.6"