[package] name = "tendermint" version = "0.40.0" # Also update depending crates (rpc, light-node, etc..) when bumping this . license = "Apache-2.0" homepage = "https://www.tendermint.com/" repository = "https://github.com/informalsystems/tendermint-rs/tree/main/tendermint" readme = "../README.md" categories = ["cryptography", "cryptography::cryptocurrencies", "database"] keywords = ["blockchain", "bft", "consensus", "cosmos", "tendermint"] edition = "2021" description = """ Tendermint is a high-performance blockchain consensus engine that powers Byzantine fault tolerant applications written in any programming language. This crate provides core types for representing information about Tendermint blockchain networks, including chain information types, secret connections, and remote procedure calls (JSON-RPC). """ authors = [ "Informal Systems ", "Ismail Khoffi ", "ValarDragon ", "Tony Arcieri ", ] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] bytes = { version = "1.2", default-features = false, features = ["serde"] } digest = { version = "0.10", default-features = false } ed25519 = { version = "2", default-features = false, features = ["alloc"] } futures = { version = "0.3", default-features = false } num-traits = { version = "0.2", default-features = false } once_cell = { version = "1.3", default-features = false } prost = { version = "0.13", default-features = false } serde = { version = "1", default-features = false, features = ["derive"] } serde_json = { version = "1", default-features = false, features = ["alloc"] } serde_bytes = { version = "0.11", default-features = false } serde_repr = { version = "0.1", default-features = false } signature = { version = "2", default-features = false, features = ["alloc"] } subtle = { version = "2", default-features = false } subtle-encoding = { version = "0.5", default-features = false, features = ["bech32-preview"] } tendermint-proto = { version = "0.40.0", default-features = false, path = "../proto" } time = { version = "0.3", default-features = false, features = ["macros", "parsing"] } zeroize = { version = "1.1", default-features = false, features = ["zeroize_derive", "alloc"] } flex-error = { version = "0.4.4", default-features = false } ed25519-consensus = { version = "2", optional = true, default-features = false } sha2 = { version = "0.10", optional = true, default-features = false } k256 = { version = "0.13", optional = true, default-features = false, features = ["alloc", "ecdsa"] } ripemd = { version = "0.1.3", optional = true, default-features = false } [features] default = ["std", "rust-crypto"] std = ["flex-error/std", "clock"] clock = ["time/std"] secp256k1 = ["rust-crypto", "dep:k256", "dep:ripemd"] rust-crypto = ["dep:sha2", "dep:ed25519-consensus"] [dev-dependencies] k256 = { version = "0.13", default-features = false, features = ["ecdsa"] } pretty_assertions = "1.3.0" proptest = { version = "0.10.1", default-features = false, features = ["std"] } tendermint-pbt-gen = { path = "../pbt-gen", default-features = false, features = ["time"] }