[package]
name = "dchain-sdk-proto"
version = "0.10.2"
authors = [
    "Belsy Yuen <belsy@platformd.io>",
]
license = "Apache-2.0"
repository = "https://github.com/d-foundation/dchain-sdk-proto/tree/dchain/cosmos-sdk-proto"
description = "Protobuf stuct defintions for Dchain"
readme = "README.md"
categories = ["cryptography", "cryptography::cryptocurrencies", "database"]
keywords = ["blockchain", "cosmos", "tendermint", "proto", "dchain"]
edition = "2021"
rust-version = "1.86"

[dependencies]
prost = "0.13"
prost-types = "0.13"
tendermint-proto = {version = "0.40"}
serde = "1.0"

# Optional dependencies
tonic = { version = "0.13", optional = true, default-features = false, features = ["codegen", "prost"] }

[features]
default = ["grpc-transport"]
grpc = ["tonic"]
grpc-transport = ["grpc", "tonic/transport"]
cosmwasm = []


[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
