zebra/zebra-chain/Cargo.toml

101 lines
2.7 KiB
TOML

[package]
name = "zebra-chain"
version = "1.0.0-beta.8"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
license = "MIT OR Apache-2.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
proptest-impl = ["proptest", "proptest-derive", "zebra-test", "rand", "rand_chacha", "tokio",
"hex/serde", "serde_with"]
bench = ["zebra-test"]
[dependencies]
aes = "0.7.5"
bech32 = "0.8.1"
bigint = "4.4.3"
bitvec = "0.22"
bitflags = "1.3.2"
blake2b_simd = "1.0.0"
blake2s_simd = "1.0.0"
bls12_381 = "0.6.0"
bs58 = { version = "0.4.0", features = ["check"] }
byteorder = "1.4.3"
chrono = { version = "0.4.19", features = ["serde"] }
displaydoc = "0.2.3"
fpe = "0.5.1"
futures = "0.3.21"
group = "0.11.0"
halo2 = { package = "halo2_proofs", version = "=0.1.0-beta.4" }
hex = "0.4.3"
incrementalmerkletree = "0.3.0-beta.2"
itertools = "0.10.3"
jubjub = "0.8.0"
lazy_static = "1.4.0"
rand_core = "0.6.3"
ripemd = "0.1.1"
serde = { version = "1.0.136", features = ["serde_derive", "rc"] }
serde_with = { version = "1.13.0", optional = true }
serde-big-array = "0.4.1"
# Matches version used by hdwallet
secp256k1 = { version = "0.21.3", features = ["serde"] }
sha2 = { version = "0.9.9", features=["compress"] }
static_assertions = "1.1.0"
subtle = "2.4.1"
thiserror = "1.0.30"
uint = "0.9.1"
x25519-dalek = { version = "1.2.0", features = ["serde"] }
orchard = "=0.1.0-beta.3"
equihash = "0.1.0"
zcash_note_encryption = "0.1"
zcash_primitives = { version = "0.5", features = ["transparent-inputs"] }
zcash_history = { git = "https://github.com/ZcashFoundation/librustzcash.git", tag = "0.5.1-zebra-v1.0.0-beta.4" }
proptest = { version = "0.10.1", optional = true }
proptest-derive = { version = "0.3.0", optional = true }
rand = { version = "0.8.5", optional = true, package = "rand" }
rand_chacha = { version = "0.3.1", optional = true }
tokio = { version = "1.17.0", optional = true }
# ZF deps
ed25519-zebra = "3.0.0"
# TODO: Update to 0.5 release when published
redjubjub = { git = "https://github.com/ZcashFoundation/redjubjub.git", rev = "a32ae3fc871bc72558ac2ce7eac933d1ad5f4a9c" }
zebra-test = { path = "../zebra-test/", optional = true }
[dev-dependencies]
color-eyre = "0.6.0"
criterion = { version = "0.3.5", features = ["html_reports"] }
itertools = "0.10.3"
spandoc = "0.2.2"
tracing = "0.1.31"
hex = { version = "0.4.3", features = ["serde"] }
serde_with = "1.13.0"
proptest = "0.10.1"
proptest-derive = "0.3.0"
rand = { version = "0.8.5", package = "rand" }
rand_chacha = "0.3.1"
tokio = "1.17.0"
zebra-test = { path = "../zebra-test/" }
[[bench]]
name = "block"
harness = false
required-features = ["bench"]
[[bench]]
name = "redpallas"
harness = false