2019-08-29 14:46:54 -07:00
|
|
|
[package]
|
|
|
|
name = "zebra-chain"
|
2022-06-29 10:14:16 -07:00
|
|
|
version = "1.0.0-beta.12"
|
2019-10-08 09:25:59 -07:00
|
|
|
authors = ["Zcash Foundation <zebra@zfnd.org>"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
Enforce Rust edition 2021 (#3332)
* Rust edition 2021: zebra-network, cargo fix --edition and clippy --fix
* Rust edition 2021: zebra-chain, cargo fix --edition
* Rust edition 2021: tower-batch, cargo fix --edition
* Rust edition 2021: tower-fallback, cargo fix --edition
* Rust edition 2021: zebra-client, cargo fix --edition
* Rust edition 2021: zebra-consensus, cargo fix --edition
* Rust edition 2021: zebra-rpc, cargo fix --edition
* Rust edition 2021: zebra-state, cargo fix --edition
* Rust edition 2021: zebra-state, cargo fix --edition
* Rust edition 2021: zebra-test, cargo fix --edition
* Rust edition 2021: zebra-utils, cargo fix --edition
* Rust edition 2021: zebrad, cargo fix --edition
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-14 04:10:18 -08:00
|
|
|
edition = "2021"
|
2019-08-29 14:46:54 -07:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2020-09-23 18:52:52 -07:00
|
|
|
[features]
|
|
|
|
default = []
|
2022-05-05 20:31:52 -07:00
|
|
|
proptest-impl = ["proptest", "proptest-derive", "zebra-test", "rand", "rand_chacha", "tokio"]
|
2021-04-19 05:15:02 -07:00
|
|
|
bench = ["zebra-test"]
|
2020-09-23 18:52:52 -07:00
|
|
|
|
2019-08-29 14:46:54 -07:00
|
|
|
[dependencies]
|
2021-11-16 11:47:54 -08:00
|
|
|
aes = "0.7.5"
|
2022-05-13 10:57:56 -07:00
|
|
|
bech32 = "0.9.0"
|
2022-05-18 18:03:55 -07:00
|
|
|
bitvec = "1.0.0"
|
2022-03-06 18:07:25 -08:00
|
|
|
bitflags = "1.3.2"
|
|
|
|
blake2b_simd = "1.0.0"
|
2022-04-18 17:14:16 -07:00
|
|
|
blake2s_simd = "1.0.0"
|
2022-05-18 18:03:55 -07:00
|
|
|
bls12_381 = "0.7.0"
|
2022-03-06 18:07:25 -08:00
|
|
|
bs58 = { version = "0.4.0", features = ["check"] }
|
|
|
|
byteorder = "1.4.3"
|
|
|
|
chrono = { version = "0.4.19", features = ["serde"] }
|
|
|
|
displaydoc = "0.2.3"
|
2021-11-18 15:50:00 -08:00
|
|
|
fpe = "0.5.1"
|
2022-03-06 18:07:25 -08:00
|
|
|
futures = "0.3.21"
|
2022-05-18 18:03:55 -07:00
|
|
|
group = "0.12.0"
|
2022-06-27 16:12:56 -07:00
|
|
|
halo2 = { package = "halo2_proofs", version = "0.2.0" }
|
2022-05-05 20:31:52 -07:00
|
|
|
hex = { version = "0.4.3", features = ["serde"] }
|
2022-05-18 18:03:55 -07:00
|
|
|
incrementalmerkletree = "0.3.0"
|
2021-12-08 14:57:14 -08:00
|
|
|
itertools = "0.10.3"
|
2022-05-18 18:03:55 -07:00
|
|
|
jubjub = "0.9.0"
|
2020-02-07 12:48:50 -08:00
|
|
|
lazy_static = "1.4.0"
|
2022-05-18 18:03:55 -07:00
|
|
|
primitive-types = "0.11.1"
|
2022-03-06 18:07:25 -08:00
|
|
|
rand_core = "0.6.3"
|
2022-04-18 17:14:16 -07:00
|
|
|
ripemd = "0.1.1"
|
2022-04-12 21:06:52 -07:00
|
|
|
|
2022-05-03 21:00:30 -07:00
|
|
|
serde = { version = "1.0.137", features = ["serde_derive", "rc"] }
|
2022-06-02 08:07:15 -07:00
|
|
|
serde_with = "1.14.0"
|
2022-03-30 18:33:52 -07:00
|
|
|
serde-big-array = "0.4.1"
|
2022-04-18 17:14:16 -07:00
|
|
|
# Matches version used by hdwallet
|
2022-04-12 21:06:52 -07:00
|
|
|
secp256k1 = { version = "0.21.3", features = ["serde"] }
|
2022-02-21 21:36:14 -08:00
|
|
|
sha2 = { version = "0.9.9", features=["compress"] }
|
2021-11-18 10:06:07 -08:00
|
|
|
static_assertions = "1.1.0"
|
2022-03-06 18:07:25 -08:00
|
|
|
subtle = "2.4.1"
|
2022-05-04 18:08:06 -07:00
|
|
|
thiserror = "1.0.31"
|
2022-04-18 17:14:16 -07:00
|
|
|
uint = "0.9.1"
|
2021-11-16 11:47:54 -08:00
|
|
|
x25519-dalek = { version = "1.2.0", features = ["serde"] }
|
2021-11-25 08:26:32 -08:00
|
|
|
|
2022-06-27 16:12:56 -07:00
|
|
|
orchard = "0.2.0"
|
2021-11-25 08:26:32 -08:00
|
|
|
|
2022-04-18 17:14:16 -07:00
|
|
|
equihash = "0.1.0"
|
|
|
|
zcash_note_encryption = "0.1"
|
2022-06-27 16:12:56 -07:00
|
|
|
zcash_primitives = { version = "0.7.0", features = ["transparent-inputs"] }
|
2022-05-18 18:03:55 -07:00
|
|
|
zcash_encoding = "0.1.0"
|
|
|
|
zcash_history = "0.3.0"
|
2020-07-30 04:11:42 -07:00
|
|
|
|
2022-02-14 17:44:33 -08:00
|
|
|
proptest = { version = "0.10.1", optional = true }
|
2021-02-21 17:52:51 -08:00
|
|
|
proptest-derive = { version = "0.3.0", optional = true }
|
2021-11-30 08:05:35 -08:00
|
|
|
|
2022-03-06 18:07:25 -08:00
|
|
|
rand = { version = "0.8.5", optional = true, package = "rand" }
|
|
|
|
rand_chacha = { version = "0.3.1", optional = true }
|
2022-06-14 23:43:20 -07:00
|
|
|
|
|
|
|
tokio = { version = "1.19.2", features = ["tracing"], optional = true }
|
2020-09-23 18:52:52 -07:00
|
|
|
|
2020-01-24 13:33:22 -08:00
|
|
|
# ZF deps
|
2021-10-12 16:42:44 -07:00
|
|
|
ed25519-zebra = "3.0.0"
|
2022-05-18 18:03:55 -07:00
|
|
|
redjubjub = "0.5.0"
|
2019-11-19 16:43:30 -08:00
|
|
|
|
2021-04-29 21:09:50 -07:00
|
|
|
zebra-test = { path = "../zebra-test/", optional = true }
|
2021-03-07 02:15:38 -08:00
|
|
|
|
2019-11-19 16:43:30 -08:00
|
|
|
[dev-dependencies]
|
2022-05-31 20:53:51 -07:00
|
|
|
color-eyre = "0.6.1"
|
2022-03-06 18:07:25 -08:00
|
|
|
criterion = { version = "0.3.5", features = ["html_reports"] }
|
2021-12-08 14:57:14 -08:00
|
|
|
itertools = "0.10.3"
|
2022-04-28 00:08:30 -07:00
|
|
|
spandoc = "0.2.2"
|
2022-03-06 18:07:25 -08:00
|
|
|
tracing = "0.1.31"
|
2021-04-18 15:09:57 -07:00
|
|
|
|
2022-02-14 17:44:33 -08:00
|
|
|
proptest = "0.10.1"
|
|
|
|
proptest-derive = "0.3.0"
|
2022-06-14 23:43:20 -07:00
|
|
|
|
2022-03-06 18:07:25 -08:00
|
|
|
rand = { version = "0.8.5", package = "rand" }
|
|
|
|
rand_chacha = "0.3.1"
|
2020-07-30 04:11:42 -07:00
|
|
|
|
2022-06-14 23:43:20 -07:00
|
|
|
tokio = { version = "1.19.2", features = ["full", "tracing", "test-util"] }
|
2022-01-25 21:23:22 -08:00
|
|
|
|
2020-06-22 19:34:11 -07:00
|
|
|
zebra-test = { path = "../zebra-test/" }
|
2021-04-19 05:15:02 -07:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "block"
|
|
|
|
harness = false
|
2022-01-25 21:23:22 -08:00
|
|
|
required-features = ["bench"]
|
2021-06-12 00:11:44 -07:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "redpallas"
|
|
|
|
harness = false
|