2019-08-29 14:46:54 -07:00
|
|
|
[package]
|
|
|
|
name = "zebra-chain"
|
2022-01-26 13:39:41 -08:00
|
|
|
version = "1.0.0-beta.4"
|
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-01-11 09:11:35 -08: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"
|
2021-06-21 08:02:44 -07:00
|
|
|
bech32 = "0.8.1"
|
2021-10-05 18:08:41 -07:00
|
|
|
bigint = "4.4.3"
|
2021-04-03 08:09:14 -07:00
|
|
|
bitflags = "1.2.1"
|
2021-06-22 20:16:22 -07:00
|
|
|
bitvec = "0.22"
|
2020-11-04 15:55:02 -08:00
|
|
|
blake2b_simd = "0.5.11"
|
2020-11-03 02:01:20 -08:00
|
|
|
blake2s_simd = "0.5.11"
|
2021-11-16 11:47:54 -08:00
|
|
|
bls12_381 = "0.6.0"
|
2020-11-09 02:01:19 -08:00
|
|
|
bs58 = { version = "0.4", features = ["check"] }
|
2021-01-11 02:01:37 -08:00
|
|
|
byteorder = "1.4"
|
2020-06-15 15:08:14 -07:00
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
2021-07-02 10:20:47 -07:00
|
|
|
displaydoc = "0.2.2"
|
2021-11-18 15:50:00 -08:00
|
|
|
fpe = "0.5.1"
|
2020-02-07 12:48:50 -08:00
|
|
|
futures = "0.3"
|
2021-11-16 11:47:54 -08:00
|
|
|
group = "0.11.0"
|
2021-10-05 18:08:41 -07:00
|
|
|
halo2 = "=0.1.0-beta.1"
|
2019-10-15 15:51:53 -07:00
|
|
|
hex = "0.4"
|
2021-07-29 06:37:18 -07:00
|
|
|
incrementalmerkletree = "0.1.0"
|
2021-12-08 14:57:14 -08:00
|
|
|
itertools = "0.10.3"
|
2021-11-16 11:47:54 -08:00
|
|
|
jubjub = "0.8.0"
|
2020-02-07 12:48:50 -08:00
|
|
|
lazy_static = "1.4.0"
|
2021-03-24 09:28:25 -07:00
|
|
|
rand_core = "0.6"
|
2021-04-19 03:43:38 -07:00
|
|
|
ripemd160 = "0.9"
|
2022-01-14 06:25:12 -08:00
|
|
|
secp256k1 = { version = "0.21.2", features = ["serde"] }
|
2020-06-15 15:08:14 -07:00
|
|
|
serde = { version = "1", features = ["serde_derive", "rc"] }
|
2021-03-12 02:01:58 -08:00
|
|
|
serde-big-array = "0.3.2"
|
2021-09-14 14:57:58 -07:00
|
|
|
sha2 = { version = "0.9.8", features=["compress"] }
|
2021-11-18 10:06:07 -08:00
|
|
|
static_assertions = "1.1.0"
|
2021-05-22 05:40:49 -07:00
|
|
|
subtle = "2.4"
|
2020-02-07 12:48:50 -08:00
|
|
|
thiserror = "1"
|
2022-02-04 21:06:51 -08:00
|
|
|
uint = "0.9.3"
|
2021-11-16 11:47:54 -08:00
|
|
|
x25519-dalek = { version = "1.2.0", features = ["serde"] }
|
2021-11-25 08:26:32 -08:00
|
|
|
|
|
|
|
# TODO: replace with upstream orchard (#3056)
|
|
|
|
orchard = { git = "https://github.com/ZcashFoundation/orchard.git", rev = "568e24cd5f129158375d7ac7d98c89ebff4f982f" }
|
|
|
|
|
|
|
|
# TODO: replace with upstream librustzcash when these changes are merged (#3037)
|
2021-12-30 09:38:21 -08:00
|
|
|
equihash = { git = "https://github.com/ZcashFoundation/librustzcash.git", tag = "0.5.1-zebra-v1.0.0-beta.4" }
|
|
|
|
zcash_note_encryption = { git = "https://github.com/ZcashFoundation/librustzcash.git", tag = "0.5.1-zebra-v1.0.0-beta.4" }
|
|
|
|
zcash_primitives = { git = "https://github.com/ZcashFoundation/librustzcash.git", tag = "0.5.1-zebra-v1.0.0-beta.4" }
|
|
|
|
zcash_history = { git = "https://github.com/ZcashFoundation/librustzcash.git", tag = "0.5.1-zebra-v1.0.0-beta.4" }
|
2020-07-30 04:11:42 -07:00
|
|
|
|
2020-09-23 18:52:52 -07:00
|
|
|
proptest = { version = "0.10", 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
|
|
|
|
2021-07-06 05:58:22 -07:00
|
|
|
rand = { version = "0.8", optional = true }
|
|
|
|
rand_chacha = { version = "0.3", optional = true }
|
2022-01-30 11:53:07 -08:00
|
|
|
tokio = { version = "1.16.1", 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"
|
2021-06-22 20:16:22 -07:00
|
|
|
# TODO: Update to 0.5 release when published
|
2022-01-13 15:59:59 -08:00
|
|
|
redjubjub = { git = "https://github.com/ZcashFoundation/redjubjub.git", rev = "a32ae3fc871bc72558ac2ce7eac933d1ad5f4a9c" }
|
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]
|
2021-04-14 02:02:13 -07:00
|
|
|
color-eyre = "0.5.11"
|
2021-04-19 05:15:02 -07:00
|
|
|
criterion = { version = "0.3", features = ["html_reports"] }
|
2021-12-08 14:57:14 -08:00
|
|
|
itertools = "0.10.3"
|
2020-07-30 04:11:42 -07:00
|
|
|
spandoc = "0.2"
|
2021-10-06 14:27:04 -07:00
|
|
|
tracing = "0.1.29"
|
2021-04-18 15:09:57 -07:00
|
|
|
|
2020-09-23 18:52:52 -07:00
|
|
|
proptest = "0.10"
|
2021-02-21 17:52:51 -08:00
|
|
|
proptest-derive = "0.3"
|
2021-05-06 07:56:00 -07:00
|
|
|
rand = "0.8"
|
|
|
|
rand_chacha = "0.3"
|
2020-07-30 04:11:42 -07:00
|
|
|
|
2022-01-30 11:53:07 -08:00
|
|
|
tokio = "1.16.1"
|
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
|