forked from diem/diem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
33 lines (29 loc) · 1.04 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
[package]
name = "diem-client"
version = "0.1.0"
authors = ["Diem Association <opensource@diem.com>"]
description = "Diem JSON-RPC client"
repository = "https://github.com/diem/diem"
homepage = "https://diem.com"
license = "Apache-2.0"
publish = false
edition = "2018"
[features]
default = ["async", "blocking"]
blocking = ["ureq", "proxy"]
async = ["reqwest", "tokio"]
[dependencies]
anyhow = "1.0.38"
bcs = "0.1.2"
hex = "0.4.3"
serde = { version = "1.0.123", features = ["derive"] }
serde_json = "1.0.64"
diem-crypto = { path = "../../crypto/crypto" }
diem-json-rpc-types = { path = "../../json-rpc/types" }
diem-types = { path = "../../types" }
diem-workspace-hack = { path = "../../common/workspace-hack" }
# Optional Dependencies
reqwest = { version = "0.11.1", features = ["json"], optional = true }
tokio = { version = "1.3.0", features = ["time"], default_features = false, optional = true }
ureq = { version = "1.5.4", features = ["json", "native-tls"], default-features = false, optional = true }
proxy = { path = "../../common/proxy", optional = true }