forked from cosmos/ibc-proto-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
62 lines (54 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
[package]
name = "ibc-proto"
version = "0.37.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.12", default-features = false, features = ["prost-derive"] }
bytes = { version = "1.2", default-features = false }
tonic = { version = "0.10", 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.21", default-features = false, features = ["alloc"] }
flex-error = { version = "0.4", default-features = false }
ics23 = { version = "0.11.0", default-features = false }
## Optional: enabled by the `parity-scale-codec` feature
parity-scale-codec = { version = "3.0.0", default-features = false, features = ["full"], optional = true }
scale-info = { version = "2.1.2", default-features = false, features = ["derive"], optional = true }
## Optional: enabled by the `borsh` feature
## For borsh encode or decode, needs to track `anchor-lang` and `near-sdk-rs` borsh version
borsh = { version = "0.10", default-features = false, optional = true }
[dependencies.tendermint-proto]
version = "0.34"
default-features = false
[features]
default = ["std", "client"]
std = ["prost/std", "bytes/std", "subtle-encoding/std", "base64/std", "flex-error/std", "ics23/std"]
serde = ["dep:serde", "ics23/serde"]
client = ["std", "dep:tonic", "tonic/codegen", "tonic/transport", "tonic/prost"]
json-schema = ["std", "serde", "dep:schemars"]
server = ["std", "dep:tonic", "tonic/codegen", "tonic/transport", "tonic/prost"]
parity-scale-codec = ["dep:parity-scale-codec", "dep:scale-info"]
borsh = ["dep:borsh"]
proto-descriptor = []