-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
38 lines (35 loc) · 1.09 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
[package]
name = "async-jsonrpc-client"
version = "0.1.0"
description = "JsonRPC client"
license = "MIT"
keywords = ["jsonrpc", "rpc", "client", "websockets", "http", "tcp"]
authors = ["Witnet Foundation <info@witnet.foundation>", "Tomasz Drwięga <tomasz@parity.io>"]
edition = "2018"
readme = "README.md"
[dependencies]
error-chain = "0.12.0"
futures = "0.1.25"
jsonrpc-core = "10.1.0"
log = "0.4.6"
parking_lot = "0.7.1"
serde = "1.0.88"
serde_derive = "1.0.88"
serde_json = "1.0.38"
tokio-timer = "0.2.10"
tokio-codec = { version = "0.1.1", optional = true }
tokio = { version = "0.1.22", optional = true }
url = { version = "1.7.2", optional = true }
base64 = { version = "0.10.1", optional = true }
websocket = { version = "<0.22", optional = true }
hyper = { version = "0.12.24", optional = true }
hyper-tls = { version = "0.3", optional = true }
native-tls = { version = "0.2", optional = true }
[features]
#default = ["http", "tcp", "ws", "tls"]
http = ["tokio", "hyper", "base64", "url"]
tcp = ["tokio", "tokio-codec"]
tls = ["hyper-tls", "native-tls"]
[[example]]
name = "tcp"
required-features = ["tcp"]