forked from informalsystems/ibc-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
112 lines (105 loc) · 3.3 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[package]
name = "ibc-core-host-cosmos"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
keywords = [ "blockchain", "cosmos", "ibc", "tendermint" ]
readme = "./../../README.md"
description = """
Maintained by `ibc-rs`, contains Cosmos-specific helper traits and implementations
to facilitate IBC integration, ensuring proper interaction with modules/components
beyond the IBC modules on host chains.
"""
[package.metadata.docs.rs]
all-features = true
[dependencies]
# external dependencies
borsh = { workspace = true, optional = true }
derive_more = { workspace = true }
displaydoc = { workspace = true }
serde = { workspace = true, optional = true }
sha2 = { workspace = true }
subtle-encoding = { workspace = true }
# ibc dependencies
ibc-client-tendermint = { workspace = true }
ibc-app-transfer-types = { workspace = true }
ibc-core-client-types = { workspace = true }
ibc-core-client-context = { workspace = true }
ibc-core-connection-types = { workspace = true }
ibc-core-commitment-types = { workspace = true }
ibc-core-host-types = { workspace = true }
ibc-core-handler-types = { workspace = true }
ibc-primitives = { workspace = true }
ibc-proto = { workspace = true }
# cosmos dependencies
tendermint = { workspace = true }
# parity dependencies
parity-scale-codec = { workspace = true, optional = true }
scale-info = { workspace = true, optional = true }
[features]
default = [ "std" ]
std = [
"displaydoc/std",
"serde/std",
"sha2/std",
"subtle-encoding/std",
"ibc-core-client-types/std",
"ibc-core-client-context/std",
"ibc-core-connection-types/std",
"ibc-core-commitment-types/std",
"ibc-core-host-types/std",
"ibc-core-handler-types/std",
"ibc-primitives/std",
"ibc-proto/std",
]
serde = [
"dep:serde",
"ibc-client-tendermint/serde",
"ibc-core-client-types/serde",
"ibc-core-client-context/serde",
"ibc-core-connection-types/serde",
"ibc-core-commitment-types/serde",
"ibc-core-host-types/serde",
"ibc-core-handler-types/serde",
"ibc-primitives/serde",
"ibc-proto/serde",
]
schema = [
"ibc-client-tendermint/schema",
"ibc-core-client-types/schema",
"ibc-core-client-context/schema",
"ibc-core-connection-types/schema",
"ibc-core-commitment-types/schema",
"ibc-core-host-types/schema",
"ibc-core-handler-types/schema",
"ibc-primitives/schema",
"ibc-proto/json-schema",
"serde",
"std",
]
borsh = [
"dep:borsh",
"ibc-client-tendermint/borsh",
"ibc-core-client-types/borsh",
"ibc-core-client-context/borsh",
"ibc-core-connection-types/borsh",
"ibc-core-commitment-types/borsh",
"ibc-core-host-types/borsh",
"ibc-primitives/borsh",
"ibc-proto/borsh",
]
parity-scale-codec = [
"dep:parity-scale-codec",
"dep:scale-info",
"ibc-client-tendermint/parity-scale-codec",
"ibc-core-client-types/parity-scale-codec",
"ibc-core-connection-types/parity-scale-codec",
"ibc-core-commitment-types/parity-scale-codec",
"ibc-core-host-types/parity-scale-codec",
"ibc-core-handler-types/parity-scale-codec",
"ibc-primitives/parity-scale-codec",
"ibc-proto/parity-scale-codec",
]