[package] name = "zebra-state" version = "1.0.0-beta.26" authors = ["Zcash Foundation "] description = "State contextual verification and storage code for Zebra" license = "MIT OR Apache-2.0" repository = "https://github.com/ZcashFoundation/zebra" edition = "2021" readme = "../README.md" homepage = "https://zfnd.org/zebra/" # crates.io is limited to 5 keywords and categories keywords = ["zebra", "zcash"] # Must be one of categories = ["asynchronous", "caching", "cryptography::cryptocurrencies"] [features] # Production features that activate extra dependencies, or extra features in dependencies progress-bar = [ "howudoin", ] # Experimental mining RPC support getblocktemplate-rpcs = [ "zebra-chain/getblocktemplate-rpcs", ] # Test-only features proptest-impl = [ "proptest", "proptest-derive", "zebra-test", "zebra-chain/proptest-impl" ] # Experimental elasticsearch support elasticsearch = [ "dep:elasticsearch", "dep:serde_json", ] [dependencies] bincode = "1.3.3" chrono = { version = "0.4.26", default-features = false, features = ["clock", "std"] } dirs = "5.0.1" futures = "0.3.28" hex = "0.4.3" indexmap = "1.9.3" itertools = "0.10.5" lazy_static = "1.4.0" metrics = "0.21.0" mset = "0.1.1" regex = "1.8.4" rlimit = "0.9.1" rocksdb = { version = "0.21.0", default_features = false, features = ["lz4"] } semver = "1.0.17" serde = { version = "1.0.164", features = ["serde_derive"] } tempfile = "3.5.0" thiserror = "1.0.40" rayon = "1.7.0" tokio = { version = "1.28.2", features = ["rt-multi-thread", "sync", "tracing"] } tower = { version = "0.4.13", features = ["buffer", "util"] } tracing = "0.1.37" # elasticsearch specific dependencies. elasticsearch = { version = "8.5.0-alpha.1", package = "elasticsearch", optional = true } serde_json = { version = "1.0.96", package = "serde_json", optional = true } zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.26" } # prod feature progress-bar howudoin = { version = "0.1.2", optional = true } # test feature proptest-impl zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.26", optional = true } proptest = { version = "1.2.0", optional = true } proptest-derive = { version = "0.3.0", optional = true } [dev-dependencies] color-eyre = "0.6.2" # This is a transitive dependency via color-eyre. # Enable a feature that makes tinyvec compile much faster. tinyvec = { version = "1.6.0", features = ["rustc_1_55"] } once_cell = "1.18.0" spandoc = "0.2.2" hex = { version = "0.4.3", features = ["serde"] } insta = { version = "1.29.0", features = ["ron"] } proptest = "1.2.0" proptest-derive = "0.3.0" halo2 = { package = "halo2_proofs", version = "0.3.0" } jubjub = "0.10.0" tokio = { version = "1.28.2", features = ["full", "tracing", "test-util"] } zebra-chain = { path = "../zebra-chain", features = ["proptest-impl"] } zebra-test = { path = "../zebra-test/" }