[package] name = "zebra-state" version = "1.0.0-beta.35" 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", ] # Mining RPC support getblocktemplate-rpcs = [ "zebra-chain/getblocktemplate-rpcs", ] # Test-only features proptest-impl = [ "proptest", "proptest-derive", "zebra-test", "zebra-chain/proptest-impl" ] # Experimental shielded blockchain scanning shielded-scan = [] # Experimental elasticsearch support elasticsearch = [ "dep:elasticsearch", "dep:serde_json", "zebra-chain/elasticsearch", ] [dependencies] bincode = "1.3.3" chrono = { version = "0.4.34", default-features = false, features = ["clock", "std"] } dirs = "5.0.1" futures = "0.3.30" hex = "0.4.3" hex-literal = "0.4.1" humantime-serde = "1.1.1" indexmap = "2.2.5" itertools = "0.12.1" lazy_static = "1.4.0" metrics = "0.22.3" mset = "0.1.1" regex = "1.10.3" rlimit = "0.10.1" rocksdb = { version = "0.22.0", default-features = false, features = ["lz4"] } semver = "1.0.22" serde = { version = "1.0.196", features = ["serde_derive"] } tempfile = "3.10.1" thiserror = "1.0.58" rayon = "1.9.0" tokio = { version = "1.36.0", features = ["rt-multi-thread", "sync", "tracing"] } tower = { version = "0.4.13", features = ["buffer", "util"] } tracing = "0.1.39" # elasticsearch specific dependencies. # Security: avoid default dependency on openssl elasticsearch = { version = "8.5.0-alpha.1", default-features = false, features = ["rustls-tls"], optional = true } serde_json = { version = "1.0.113", package = "serde_json", optional = true } zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.35", features = ["async-error"] } # 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.35", optional = true } proptest = { version = "1.4.0", optional = true } proptest-derive = { version = "0.4.0", optional = true } [dev-dependencies] color-eyre = "0.6.3" # 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.36.1", features = ["ron", "redactions"] } proptest = "1.4.0" proptest-derive = "0.4.0" rand = "0.8.5" halo2 = { package = "halo2_proofs", version = "0.3.0" } jubjub = "0.10.0" tokio = { version = "1.36.0", features = ["full", "tracing", "test-util"] } zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.35", features = ["proptest-impl"] } zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.35" }