# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

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

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

[lib]
name = "dchain_sdk_proto"
path = "src/lib.rs"

[dependencies.prost]
version = "0.13"

[dependencies.prost-types]
version = "0.13"

[dependencies.serde]
version = "1.0"

[dependencies.tendermint-proto]
version = "0.40"

[dependencies.tonic]
version = "0.13"
features = [
    "codegen",
    "prost",
]
optional = true
default-features = false
