forked from graphprotocol/rust-web3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
56 lines (52 loc) · 1.6 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
52
53
54
55
56
[package]
name = "web3"
version = "0.10.0-graph"
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 <tomasz@parity.io>"]
readme = "README.md"
edition = "2018"
[dependencies]
arrayvec = "0.5.0"
base64 = "0.12.0"
derive_more = "0.99.1"
ethabi = "12.0.0"
ethereum-types = "0.9.0"
futures = "0.1.26"
jsonrpc-core = "14.0.0"
log = "0.4.6"
parking_lot = "0.10.0"
rlp = "0.4"
rustc-hex = "2.0.1"
secp256k1 = { git = "https://github.com/rust-bitcoin/rust-secp256k1", features = ["recovery"] }
serde = { version = "1.0.90", features = ["derive"] }
serde_json = "1.0.39"
tiny-keccak = { version = "2.0.1", features = ["keccak"] }
tokio-timer = "0.1"
url = "2.1.0"
zeroize = "1.1.0"
# Optional deps
hyper = { version = "0.12.25", optional = true }
hyper-tls = { version = "0.3.2", optional = true }
native-tls = { version = "0.2.2", optional = true }
tokio-core = { version = "0.1.17", optional = true }
tokio-io = { version = "0.1.12", optional = true }
tokio-uds = { version = "0.1.0", optional = true }
websocket = { version = "0.21.1", optional = true }
[dev-dependencies]
# For examples
tokio-core = "0.1.17"
rustc-hex = "2.0.1"
env_logger = "0.7.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]