[package] name = "zebra-consensus" version = "1.0.0-beta.42" authors = ["Zcash Foundation "] description = "Implementation of Zcash consensus checks" 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", "cryptography::cryptocurrencies"] [features] default = [] # Production features that activate extra dependencies, or extra features in dependencies progress-bar = [ "howudoin", "zebra-state/progress-bar", ] # Mining RPC support getblocktemplate-rpcs = [ "zebra-state/getblocktemplate-rpcs", "zebra-node-services/getblocktemplate-rpcs", "zebra-chain/getblocktemplate-rpcs", ] # Test-only features proptest-impl = ["proptest", "proptest-derive", "zebra-chain/proptest-impl", "zebra-state/proptest-impl"] [dependencies] blake2b_simd = "1.0.2" bellman = "0.14.0" bls12_381 = "0.8.0" halo2 = { package = "halo2_proofs", version = "0.3.0" } jubjub = "0.10.0" rand = "0.8.5" rayon = "1.10.0" chrono = { version = "0.4.38", default-features = false, features = ["clock", "std"] } lazy_static = "1.4.0" once_cell = "1.20.2" serde = { version = "1.0.211", features = ["serde_derive"] } futures = "0.3.31" futures-util = "0.3.28" metrics = "0.24.0" thiserror = "1.0.64" tokio = { version = "1.41.0", features = ["time", "sync", "tracing", "rt-multi-thread"] } tower = { version = "0.4.13", features = ["timeout", "util", "buffer"] } tracing = "0.1.39" tracing-futures = "0.2.5" sapling-crypto.workspace = true orchard.workspace = true zcash_proofs = { workspace = true, features = ["multicore" ] } wagyu-zcash-parameters = "0.2.0" tower-fallback = { path = "../tower-fallback/", version = "0.2.41-beta.18" } tower-batch-control = { path = "../tower-batch-control/", version = "0.2.41-beta.18" } zebra-script = { path = "../zebra-script", version = "1.0.0-beta.42" } zebra-state = { path = "../zebra-state", version = "1.0.0-beta.42" } zebra-node-services = { path = "../zebra-node-services", version = "1.0.0-beta.42" } zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.42" } # prod feature progress-bar howudoin = { version = "0.1.2", optional = true } # Test-only dependencies proptest = { version = "1.4.0", optional = true } proptest-derive = { version = "0.5.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.8.0", features = ["rustc_1_55"] } hex = "0.4.3" num-integer = "0.1.46" proptest = "1.4.0" proptest-derive = "0.5.0" spandoc = "0.2.2" tokio = { version = "1.41.0", features = ["full", "tracing", "test-util"] } tracing-error = "0.2.0" tracing-subscriber = "0.3.18" zebra-state = { path = "../zebra-state", version = "1.0.0-beta.42", features = ["proptest-impl"] } zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.42", features = ["proptest-impl"] } zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.42" }