-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
87 lines (80 loc) · 2.55 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
[package]
name = "tenderdash-abci"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
categories = ["cryptography::cryptocurrencies", "network-programming"]
keywords = ["abci", "blockchain", "bft", "consensus", "tendermint", "dash"]
repository = "https://github.com/dashpay/rs-tenderdash-abci/tree/main/abci"
documentation = "https://dashpay.github.io/rs-tenderdash-abci/tenderdash_abci/"
description = """tenderdash-abci provides a simple framework with which to build\
low-level applications on top of Tenderdash."""
rust-version.workspace = true
version.workspace = true
[features]
default = [
"server",
"docker-tests",
"crypto",
"tcp",
"unix",
"grpc",
"tracing-span",
]
# docker-tests includes integration tests that require docker to be available
docker-tests = ["server"]
server = [
"tracing-subscriber/fmt",
"dep:tokio",
"dep:tokio-util",
"dep:futures",
]
# std is deprecated, use "grpc" instead
std = ["grpc"]
grpc = ["tenderdash-proto/grpc"]
crypto = ["dep:lhash"]
tcp = ["server"]
unix = ["server"]
tracing-span = ["dep:uuid"]
serde = ["tenderdash-proto/serde", "dep:serde_json"]
[[example]]
name = "echo_socket"
required-features = ["server"]
[dependencies]
uuid = { version = "1.8.0", features = ["v4", "fast-rng"], optional = true }
tenderdash-proto = { path = "../proto", default-features = false }
bytes = { version = "1.6.0" }
tracing = { version = "0.1.40", default-features = false }
tracing-subscriber = { version = "0.3.18", optional = true, default-features = false, features = [
"ansi",
"env-filter",
] }
serde_json = { version = "1.0.128", optional = true }
thiserror = { version = "2.0.3" }
url = { version = "2.5.0" }
semver = { version = "1.0.22" }
lhash = { version = "1.1.0", features = ["sha256"], optional = true }
hex = { version = "0.4.3" }
tokio-util = { version = "0.7.12", features = [
"net",
"codec",
], default-features = false, optional = true }
tokio = { version = "1.40", features = [
"net",
"io-util",
"rt-multi-thread",
"sync",
"macros",
], default-features = false, optional = true }
futures = { version = "0.3.30", optional = true }
[dev-dependencies]
anyhow = { version = "1.0.82" }
bincode = { version = "2.0.0-rc.3" }
blake2 = { version = "0.10.6" }
bollard = { version = "0.18" }
futures = { version = "0.3.30" }
tokio = { version = "1.40", features = ["macros", "signal", "time", "io-std"] }
hex = { version = "0.4.3" }
lazy_static = { version = "1.4.0" }
# Note: pollster is not safe outside of tests, we had issues with it in the past
pollster = { version = "0.4.0" }