[package] name = "embedded-td" version = "0.1.4" edition = "2021" description = "Running tendermint as rust crate" license = "LGPL-3.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] rust-embed = { version = "6.4.1", features = ["interpolate-folder-path", "include-exclude", "include-flate"] } tempfile = "3.3.0" thiserror = "1.0.35" time = { version = "0.3.14", features = ["serde"] } log = "0.4.17" rand_core = "0.6.4" serde = { version = "1.0.144", features = ["derive"] } base64 = "0.13.0" hex = { version = "0.4.3", features = ["serde"] } sha2 = "0.10.6" toml = "0.5.9" serde_json = "1.0.85" # Secp256k1 k256 = "0.11.5" ripemd = "0.1.2" # ed25519 & sr25519 curve25519-dalek-ng = "4.1.1" # abci interface async-abci = { version = "0.1.5", default-features = false, features = ["unix"] } tm-abci = "0.1.2" # runtime tokio = { version = "1", features = ["rt", "rt-multi-thread"], optional = true } smol = { version = "1.2.5", optional = true } [features] default = ["td_ver_0_34", "async-smol"] # Async runtime backend async-tokio = ["tokio" ,"async-abci/tokio-backend"] async-smol = ["smol", "async-abci/smol-backend"] # Tendermint version td_ver_0_34 = [] td_ver_0_37 = [] # How to get tendermint binary use_source_code = [] # Storage backend storage-goleveldb = [] storage-cleveldb = [] storage-badgerdb = [] storage-rocksdb = [] storage-boltdb = [] __debug_tmp = [] [build-dependencies] flate2 = "1.0.24" hex = "0.4.3" reqwest = { version = "0.11.11", features = ["blocking"] } sha2 = "0.10.6" tar = "0.4.38" [dev-dependencies] rand = "0.8.5" serde_json = "1.0.85" env_logger = "0.9.1"