# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "cosmrs"
version = "0.1.0"
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.2"
optional = true

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

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

[dependencies.eyre]
version = "0.6"

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

[dependencies.prost]
version = "0.7"

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

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

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

[dependencies.tendermint]
version = "0.21"
features = ["secp256k1"]
default-features = false

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

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
optional = true

[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"]
