2020-06-02 16:16:17 -07:00
|
|
|
[package]
|
|
|
|
name = "zebra-state"
|
2023-09-01 13:45:20 -07:00
|
|
|
version = "1.0.0-beta.29"
|
2020-06-02 16:16:17 -07:00
|
|
|
authors = ["Zcash Foundation <zebra@zfnd.org>"]
|
2023-06-13 01:46:01 -07:00
|
|
|
description = "State contextual verification and storage code for Zebra"
|
2020-06-02 16:16:17 -07:00
|
|
|
license = "MIT OR Apache-2.0"
|
2023-06-13 01:46:01 -07:00
|
|
|
repository = "https://github.com/ZcashFoundation/zebra"
|
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"
|
2020-06-02 16:16:17 -07:00
|
|
|
|
2023-06-13 01:46:01 -07:00
|
|
|
readme = "../README.md"
|
|
|
|
homepage = "https://zfnd.org/zebra/"
|
|
|
|
# crates.io is limited to 5 keywords and categories
|
|
|
|
keywords = ["zebra", "zcash"]
|
|
|
|
# Must be one of <https://crates.io/category_slugs>
|
|
|
|
categories = ["asynchronous", "caching", "cryptography::cryptocurrencies"]
|
|
|
|
|
2021-07-27 17:01:19 -07:00
|
|
|
[features]
|
2022-11-08 23:36:10 -08:00
|
|
|
|
|
|
|
# Production features that activate extra dependencies, or extra features in dependencies
|
|
|
|
|
2023-04-13 01:42:17 -07:00
|
|
|
progress-bar = [
|
|
|
|
"howudoin",
|
|
|
|
]
|
|
|
|
|
2022-11-08 23:36:10 -08:00
|
|
|
# Experimental mining RPC support
|
|
|
|
getblocktemplate-rpcs = [
|
|
|
|
"zebra-chain/getblocktemplate-rpcs",
|
|
|
|
]
|
|
|
|
|
|
|
|
# Test-only features
|
|
|
|
proptest-impl = [
|
|
|
|
"proptest",
|
|
|
|
"proptest-derive",
|
|
|
|
"zebra-test",
|
|
|
|
"zebra-chain/proptest-impl"
|
|
|
|
]
|
2020-06-02 16:16:17 -07:00
|
|
|
|
2023-03-13 14:13:30 -07:00
|
|
|
# Experimental elasticsearch support
|
|
|
|
elasticsearch = [
|
|
|
|
"dep:elasticsearch",
|
|
|
|
"dep:serde_json",
|
2023-06-14 12:01:39 -07:00
|
|
|
"zebra-chain/elasticsearch",
|
2023-03-13 14:13:30 -07:00
|
|
|
]
|
|
|
|
|
2020-06-02 16:16:17 -07:00
|
|
|
[dependencies]
|
2022-03-06 18:07:25 -08:00
|
|
|
bincode = "1.3.3"
|
2023-09-11 14:59:04 -07:00
|
|
|
chrono = { version = "0.4.30", default-features = false, features = ["clock", "std"] }
|
2023-05-02 10:11:36 -07:00
|
|
|
dirs = "5.0.1"
|
2023-04-02 21:00:53 -07:00
|
|
|
futures = "0.3.28"
|
2021-03-04 02:01:44 -08:00
|
|
|
hex = "0.4.3"
|
2023-06-29 13:18:52 -07:00
|
|
|
indexmap = "2.0.0"
|
2023-06-23 11:27:49 -07:00
|
|
|
itertools = "0.11.0"
|
2020-07-23 18:47:48 -07:00
|
|
|
lazy_static = "1.4.0"
|
2023-07-03 16:23:33 -07:00
|
|
|
metrics = "0.21.1"
|
2023-01-16 17:12:14 -08:00
|
|
|
mset = "0.1.1"
|
2023-09-04 14:06:01 -07:00
|
|
|
regex = "1.9.5"
|
2023-07-24 16:50:15 -07:00
|
|
|
rlimit = "0.10.1"
|
2023-07-04 12:01:11 -07:00
|
|
|
rocksdb = { version = "0.21.0", default-features = false, features = ["lz4"] }
|
2023-07-17 19:37:35 -07:00
|
|
|
semver = "1.0.18"
|
2023-08-28 21:01:15 -07:00
|
|
|
serde = { version = "1.0.188", features = ["serde_derive"] }
|
2023-08-21 16:39:06 -07:00
|
|
|
tempfile = "3.8.0"
|
2023-09-05 19:44:01 -07:00
|
|
|
thiserror = "1.0.48"
|
2022-06-14 23:43:20 -07:00
|
|
|
|
2023-03-07 06:22:51 -08:00
|
|
|
rayon = "1.7.0"
|
2023-08-25 13:34:00 -07:00
|
|
|
tokio = { version = "1.32.0", features = ["rt-multi-thread", "sync", "tracing"] }
|
2022-06-21 10:12:19 -07:00
|
|
|
tower = { version = "0.4.13", features = ["buffer", "util"] }
|
2022-10-12 23:46:27 -07:00
|
|
|
tracing = "0.1.37"
|
2021-11-16 11:47:54 -08:00
|
|
|
|
2023-03-13 14:13:30 -07:00
|
|
|
# elasticsearch specific dependencies.
|
2023-06-25 22:44:19 -07:00
|
|
|
# Security: avoid default dependency on openssl
|
|
|
|
elasticsearch = { version = "8.5.0-alpha.1", default-features = false, features = ["rustls-tls"], optional = true }
|
2023-09-11 17:33:20 -07:00
|
|
|
serde_json = { version = "1.0.106", package = "serde_json", optional = true }
|
2023-03-13 14:13:30 -07:00
|
|
|
|
2023-09-01 13:45:20 -07:00
|
|
|
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.29", features = ["async-error"] }
|
2021-07-27 17:01:19 -07:00
|
|
|
|
2023-04-13 01:42:17 -07:00
|
|
|
# prod feature progress-bar
|
|
|
|
howudoin = { version = "0.1.2", optional = true }
|
|
|
|
|
|
|
|
# test feature proptest-impl
|
2023-09-01 13:45:20 -07:00
|
|
|
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.29", optional = true }
|
2023-05-25 13:44:16 -07:00
|
|
|
proptest = { version = "1.2.0", optional = true }
|
2023-08-29 18:32:50 -07:00
|
|
|
proptest-derive = { version = "0.4.0", optional = true }
|
2022-07-22 09:19:11 -07:00
|
|
|
|
2020-06-02 16:16:17 -07:00
|
|
|
[dev-dependencies]
|
2022-09-26 15:23:59 -07:00
|
|
|
color-eyre = "0.6.2"
|
2022-08-03 16:42:50 -07:00
|
|
|
# This is a transitive dependency via color-eyre.
|
|
|
|
# Enable a feature that makes tinyvec compile much faster.
|
2022-08-04 15:03:24 -07:00
|
|
|
tinyvec = { version = "1.6.0", features = ["rustc_1_55"] }
|
2022-08-03 16:42:50 -07:00
|
|
|
|
2023-06-06 04:14:53 -07:00
|
|
|
once_cell = "1.18.0"
|
2022-04-28 00:08:30 -07:00
|
|
|
spandoc = "0.2.2"
|
2022-03-18 13:30:16 -07:00
|
|
|
|
|
|
|
hex = { version = "0.4.3", features = ["serde"] }
|
2023-07-17 21:55:54 -07:00
|
|
|
insta = { version = "1.31.0", features = ["ron", "redactions"] }
|
2022-03-18 13:30:16 -07:00
|
|
|
|
2023-05-25 13:44:16 -07:00
|
|
|
proptest = "1.2.0"
|
2023-08-29 18:32:50 -07:00
|
|
|
proptest-derive = "0.4.0"
|
2023-06-27 08:32:30 -07:00
|
|
|
rand = "0.8.5"
|
2022-03-01 18:44:39 -08:00
|
|
|
|
2023-04-18 03:11:38 -07:00
|
|
|
halo2 = { package = "halo2_proofs", version = "0.3.0" }
|
|
|
|
jubjub = "0.10.0"
|
2022-03-01 18:44:39 -08:00
|
|
|
|
2023-08-25 13:34:00 -07:00
|
|
|
tokio = { version = "1.32.0", features = ["full", "tracing", "test-util"] }
|
2021-11-16 11:47:54 -08:00
|
|
|
|
|
|
|
zebra-chain = { path = "../zebra-chain", features = ["proptest-impl"] }
|
|
|
|
zebra-test = { path = "../zebra-test/" }
|