# 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.56"
name = "cosmrs"
version = "0.5.1"
authors = ["Tony Arcieri <tony@iqlusion.io>"]
description = "Transaction builder and signer for Cosmos-based blockchains"
readme = "README.md"
keywords = ["blockchain", "cosmos", "tendermint", "transaction"]
categories = ["cryptography", "cryptography::cryptocurrencies", "encoding"]
license = "Apache-2.0"
repository = "https://github.com/cosmos/cosmos-rust/tree/main/cosmrs"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies.bip32]
version = "0.3"
optional = true

[dependencies.cosmos-sdk-proto]
version = "0.10"
default-features = false

[dependencies.ecdsa]
version = "0.13"
features = ["std"]

[dependencies.eyre]
version = "0.6"

[dependencies.k256]
version = "0.10"
features = ["ecdsa", "sha256"]

[dependencies.prost]
version = "0.9"

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

[dependencies.rand_core]
version = "0.6"
features = ["std"]

[dependencies.serde]
version = "1"
features = ["serde_derive"]

[dependencies.serde_json]
version = "1"

[dependencies.subtle-encoding]
version = "0.5"
features = ["bech32-preview"]

[dependencies.tendermint]
version = "=0.23.5"
features = ["secp256k1"]

[dependencies.tendermint-rpc]
version = "=0.23.5"
features = ["http-client"]
optional = true

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
optional = true
[dev-dependencies.hex-literal]
version = "0.3"

[features]
cosmwasm = ["cosmos-sdk-proto/cosmwasm"]
default = ["bip32"]
dev = ["rpc", "tokio"]
rpc = ["tendermint-rpc"]
[target."cfg(target_arch = \"wasm32\")".dependencies.getrandom]
version = "0.2"
features = ["js"]
