forked from informalsystems/tendermint-rs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
98 lines (91 loc) · 3.87 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[package]
name = "tendermint-rpc"
version = "0.24.0-pre.2"
edition = "2018"
license = "Apache-2.0"
homepage = "https://www.tendermint.com/"
repository = "https://github.com/informalsystems/tendermint-rs"
readme = "README.md"
keywords = ["blockchain", "cosmos", "tendermint"]
categories = ["cryptography::cryptocurrencies", "network-programming"]
authors = [
"Informal Systems <[email protected]>",
"Ismail Khoffi <[email protected]>",
"Alexander Simmerl <[email protected]>",
]
description = """
tendermint-rpc contains the core types returned by a Tendermint node's RPC endpoint.
All networking related features are feature guarded to keep the dependencies small in
cases where only the core types are needed.
"""
[package.metadata.docs.rs]
all-features = true
[[bin]]
name = "tendermint-rpc"
path = "src/client/bin/main.rs"
required-features = [ "cli" ]
[features]
default = ["flex-error/std", "flex-error/eyre_tracer"]
cli = [
"http-client",
"structopt",
"tracing-subscriber",
"websocket-client"
]
http-client = [
"async-trait",
"futures",
"http",
"hyper",
"hyper-proxy",
"hyper-rustls",
"tokio/fs",
"tokio/macros",
"tracing"
]
secp256k1 = [ "tendermint/secp256k1" ]
websocket-client = [
"async-trait",
"async-tungstenite",
"futures",
"tokio/rt-multi-thread",
"tokio/fs",
"tokio/macros",
"tokio/sync",
"tokio/time",
"tracing"
]
[dependencies]
bytes = { version = "1.0", default-features = false }
getrandom = { version = "0.2", default-features = false, features = ["js"] }
peg = { version = "0.7.0", default-features = false }
pin-project = { version = "1.0.1", default-features = false }
serde = { version = "1", default-features = false, features = [ "derive" ] }
serde_bytes = { version = "0.11", default-features = false }
serde_json = { version = "1", default-features = false, features = ["std"] }
tendermint-config = { version = "0.24.0-pre.2", path = "../config", default-features = false }
tendermint = { version = "0.24.0-pre.2", default-features = false, path = "../tendermint" }
tendermint-proto = { version = "0.24.0-pre.2", default-features = false, path = "../proto" }
thiserror = { version = "1", default-features = false }
time = { version = "0.3.5", default-features = false, features = ["macros", "parsing"] }
uuid = { version = "0.8", default-features = false }
subtle-encoding = { version = "0.5", default-features = false, features = ["bech32-preview"] }
url = { version = "2.2", default-features = false }
walkdir = { version = "2.3", default-features = false }
flex-error = { version = "0.4.4", default-features = false }
subtle = { version = "2", default-features = false }
# Optional dependencies
async-trait = { version = "0.1", optional = true, default-features = false }
async-tungstenite = { version = "0.17", default-features = false, features = ["tokio-runtime", "tokio-rustls-native-certs"], optional = true }
futures = { version = "0.3", optional = true, default-features = false }
http = { version = "0.2", optional = true, default-features = false }
hyper = { version = "0.14", optional = true, default-features = false, features = ["client", "http1", "http2"] }
hyper-proxy = { version = "0.9.1", optional = true, default-features = false, features = ["rustls"] }
hyper-rustls = { version = "0.22.1", optional = true, default-features = false, features = ["rustls-native-certs", "webpki-roots", "tokio-runtime"] }
structopt = { version = "0.3", optional = true, default-features = false }
tokio = { version = "1.0", optional = true, default-features = false, features = ["rt-multi-thread"] }
tracing = { version = "0.1", optional = true, default-features = false }
tracing-subscriber = { version = "0.2", optional = true, default-features = false, features = ["fmt"] }
[dev-dependencies]
lazy_static = { version = "1.4.0", default-features = false }
tokio-test = { version = "0.4", default-features = false }