[package]
name = "zebra-consensus"
version = "3.0.0-alpha.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2018"

[dependencies]
chrono = "0.4.19"
color-eyre = "0.5"
displaydoc = "0.1.7"
jubjub = "0.5.1"
once_cell = "1.4"
rand = "0.7"
redjubjub = "0.2"
serde = { version = "1", features = ["serde_derive"] }

futures = "0.3.7"
futures-util = "0.3.6"
metrics = "0.12"
thiserror = "1.0.22"
tokio = { version = "0.2.22", features = ["time", "sync", "stream", "tracing"] }
tower = { version = "0.3", features = ["timeout", "util", "buffer"] }
tower-util = "0.3"
tracing = "0.1.21"
tracing-futures = "0.2.4"

tower-fallback = { path = "../tower-fallback/" }
tower-batch = { path = "../tower-batch/" }
zebra-chain = { path = "../zebra-chain" }
zebra-state = { path = "../zebra-state" }
zebra-script = { path = "../zebra-script" }

[dev-dependencies]
rand = "0.7"
spandoc = "0.2"
tokio = { version = "0.2", features = ["full"] }
tracing-error = "0.1.2"
tracing-subscriber = "0.2.15"

zebra-test = { path = "../zebra-test/" }
