-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
35 lines (30 loc) · 955 Bytes
/
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 = "pragma-rs"
version = "0.2.7"
edition = "2021"
rust-version = "1.81"
categories = []
description = "SDK to interact with the Pragma API."
authors = ["Pragma <[email protected]>"]
keywords = ["pragma", "common", "utils"]
repository = "https://github.com/astraly-labs/pragma-rs"
license = "MIT"
[features]
default = []
sync = ["reqwest/blocking"]
bigdecimal = ["dep:bigdecimal"]
[[example]]
name = "http-sync"
path = "examples/http_sync.rs"
required-features = ["sync"]
[dependencies]
pragma-common = { version = "0.2.10", features = ["starknet"] }
reqwest = { version = "0.12", features = ["json", "stream", "blocking"] }
tokio-tungstenite = { version = "0.26", features = ["native-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
tokio = { version = "1", features = ["full"] }
futures-util = { version = "0.3" }
# bigdecimal feature
bigdecimal = { version = "0.4.8", optional = true }