forked from informalsystems/hermes
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
67 lines (59 loc) · 1.98 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
[package]
name = "ibc"
version = "0.6.2"
edition = "2018"
license = "Apache-2.0"
readme = "README.md"
keywords = ["blockchain", "consensus", "cosmos", "ibc", "tendermint"]
repository = "https://github.com/informalsystems/ibc-rs"
authors = ["Informal Systems <[email protected]>"]
description = """
Implementation of the Inter-Blockchain Communication Protocol (IBC).
This crate comprises the main data structures and on-chain logic.
"""
[features]
default = ["std", "eyre_tracer"]
std = [
"flex-error/std"
]
eyre_tracer = ["flex-error/eyre_tracer"]
# This feature grants access to development-time mocking libraries, such as `MockContext` or `MockHeader`.
# Depends on the `testgen` suite for generating Tendermint light blocks.
mocks = [ "tendermint-testgen", "sha2" ]
[dependencies]
# Proto definitions for all IBC-related interfaces, e.g., connections or channels.
ibc-proto = { version = "0.9.1", path = "../proto" }
ics23 = "0.6.5"
chrono = "0.4.19"
thiserror = "1.0.26"
serde_derive = "1.0.104"
serde = "1.0.125"
serde_json = "1"
tracing = "0.1.26"
prost = "0.7"
prost-types = "0.7"
bytes = "1.0.0"
dyn-clonable = "0.9.0"
regex = "1"
subtle-encoding = "0.5"
sha2 = { version = "0.9.3", optional = true }
flex-error = { version = "0.4.1", default-features = false }
[dependencies.tendermint]
version = "=0.21.0"
[dependencies.tendermint-proto]
version = "=0.21.0"
[dependencies.tendermint-testgen]
version = "=0.21.0"
optional = true
[dev-dependencies]
env_logger = "0.9.0"
tracing-subscriber = "0.2.19"
test-env-log = { version = "0.2.7", features = ["trace"] }
modelator = { git = "https://github.com/informalsystems/modelator", rev = "99f656fa8b3cf46a2aa0b6513e4e140d1778c4bd" }
tendermint-rpc = { version = "=0.21.0", features = ["http-client", "websocket-client"] }
tendermint-testgen = { version = "=0.21.0" } # Needed for generating (synthetic) light blocks.
sha2 = { version = "0.9.3" }
[[test]]
name = "mbt"
path = "tests/mbt.rs"
required-features = ["mocks"]