forked from tomusdrw/rust-web3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (47 loc) · 1.31 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
[package]
name = "web3"
version = "0.5.1"
description = "Ethereum JSON-RPC client."
homepage = "https://github.com/tomusdrw/rust-web3"
repository = "https://github.com/tomusdrw/rust-web3"
documentation = "https://docs.rs/web3"
license = "MIT"
keywords = ["jsonrpc", "web3", "ethereum", "rpc", "client"]
authors = ["Tomasz Drwięga <[email protected]>"]
readme = "README.md"
[dependencies]
arrayvec = "0.4"
error-chain = "0.12"
ethabi = "6.0"
ethereum-types = "0.4"
futures = "0.1"
jsonrpc-core = "8.0.1"
log = "0.4"
parking_lot = "0.7"
rustc-hex = "1.0"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
tokio-timer = "0.1"
url = "1.7"
base64 = "0.10"
# Optional deps
hyper = { version = "0.12", optional = true }
hyper-tls = { version = "0.3", optional = true }
native-tls = { version = "0.2", optional = true }
tokio-core = { version = "0.1", optional = true }
tokio-io = { version = "0.1", optional = true }
tokio-uds = { version = "0.1", optional = true }
websocket = { version = "0.21", optional = true }
[dev-dependencies]
# For examples
tokio-core = "0.1"
rustc-hex = "1.0"
[features]
default = ["http", "ipc", "ws", "tls"]
# TODO [ToDr] move transports to separate crates
http = ["hyper", "tokio-core"]
ipc = ["tokio-uds", "tokio-core", "tokio-io"]
ws = ["tokio-core", "websocket"]
tls = ["hyper-tls", "native-tls"]
[workspace]