-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (49 loc) · 1.53 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
52
53
54
55
56
57
58
59
60
61
[package]
name = "tardis-rs"
description = "A rust crate that allows you to easily replay historical market data and stream live market data through Tardis.dev's API"
authors = ["Marcus Lee <[email protected]>"]
readme = "README.md"
license = "LGPL-3.0-only"
homepage = "https://github.com/cybotrade/tardis-rs/"
repository = "https://github.com/cybotrade/tardis-rs/"
keywords = ["tardis", "market-data", "cryptocurrency", "trading"]
version = "0.1.4"
edition = "2021"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
machine = ["dep:async-stream", "dep:futures-util", "dep:tokio-tungstenite"]
example = ["dep:tracing-subscriber"]
[[bin]]
name = "stream-normalized"
path = "examples/stream_normalized.rs"
[dependencies]
# Async
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
async-stream = { version = "0.3", optional = true }
futures-util = { version = "0.3", default-features = false, features = [
"sink",
"std",
], optional = true }
# Time
chrono = { version = "0.4", features = ["serde"] }
# Error
thiserror = "1.0"
# Websocket
tokio-tungstenite = { version = "0.20", features = [
"rustls-tls-native-roots",
], optional = true }
# HTTP
reqwest = { version = "0.11", features = ["json"] }
# SerDe
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = [] }
# Utils
tracing-subscriber = { version = "0.3", default-features = false, features = [
"fmt",
], optional = true }
urlencoding = "2.1"
tracing = "0.1"
[dev-dependencies]
tracing-test = "0.2"