-
Notifications
You must be signed in to change notification settings - Fork 31
/
Cargo.toml
63 lines (55 loc) · 2.5 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
[package]
name = "ibc-proto"
version = "0.51.1"
authors = ["Informal Systems <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/cosmos/ibc-proto-rs"
readme = "README.md"
categories = ["cryptography::cryptocurrencies", "encoding", "no-std"]
keywords = ["blockchain", "cosmos", "tendermint", "ibc", "proto"]
exclude = ["definitions", "tools", ".changelog", ".github"]
description = """
ibc-proto provides Cosmos SDK & IBC Protocol Buffers definitions
"""
[workspace]
members = [
".",
"tools/proto-compiler"
]
[lib]
name = "ibc_proto"
path = "src/lib.rs"
doctest = false
[package.metadata.docs.rs]
all-features = true
[dependencies]
prost = { version = "0.13", default-features = false, features = ["prost-derive"] }
bytes = { version = "1.2", default-features = false }
tonic = { version = "0.12.3", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, optional = true }
schemars = { version = "0.8", optional = true }
subtle-encoding = { version = "0.5", default-features = false }
base64 = { version = "0.22", default-features = false, features = ["alloc"] }
flex-error = { version = "0.4", default-features = false }
ics23 = { version = "0.12.0", default-features = false }
informalsystems-pbjson = { version = "0.7.0", optional = true, default-features = false }
[dependencies.tendermint-proto]
version = "0.40.0"
default-features = false
[dependencies.cosmos-sdk-proto]
version = "0.26.1"
default-features = false
[dev-dependencies]
serde_json = "1.0.107"
[features]
default = ["std", "client", "transport"]
transport = ["tonic/transport", "cosmos-sdk-proto/grpc-transport"]
std = ["cosmos-sdk-proto/std", "prost/std", "bytes/std", "subtle-encoding/std", "base64/std", "flex-error/std", "ics23/std", "informalsystems-pbjson/std"]
serde = ["dep:serde", "dep:informalsystems-pbjson", "ics23/serde", "cosmos-sdk-proto/serde"]
client = ["std", "dep:tonic", "tonic/codegen", "tonic/prost"]
json-schema = ["std", "serde", "tendermint-proto/json-schema", "dep:schemars"]
server = ["std", "dep:tonic", "tonic/codegen", "tonic/prost"]
parity-scale-codec = ["tendermint-proto/parity-scale-codec"]
borsh = ["tendermint-proto/borsh"]
proto-descriptor = []