-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
35 lines (30 loc) · 1.01 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
[package]
name = "polygon-client"
description = "Rust client library for polygon.io"
version = "0.1.1"
authors = ["Matt Miller <mmiller@hick.org>"]
license = "MIT"
repository = "https://github.com/epakskape/polygon-client-rs"
readme = "README.md"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = { version = "0.11.4", features = ["json"], optional = true }
tokio = { version = "1", features = ["full"] }
tokio-test = "0.4.2"
serde = { version = "1.0.126", features = ["derive"] }
serde_json = "1.0"
chrono = { version = "0.4.19", features = ["serde"] }
lazy_static = "1.4.0"
tungstenite = { version = "0.16.0", features = ["native-tls"], optional = true }
tokio-tungstenite = { version = "0.16.1", features = [
"native-tls",
], optional = true }
url = "2.1.0"
[features]
default = ["rest", "websocket"]
rest = ["reqwest"]
websocket = ["tungstenite", "tokio-tungstenite"]
[[example]]
name = "dividends"
required-features = ["rest"]