2020-06-02 16:16:17 -07:00
|
|
|
[package]
|
|
|
|
name = "zebra-state"
|
2024-05-07 07:25:50 -07:00
|
|
|
version = "1.0.0-beta.37"
|
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",
|
|
|
|
]
|
|
|
|
|
2024-01-11 06:41:01 -08:00
|
|
|
# Mining RPC support
|
2022-11-08 23:36:10 -08:00
|
|
|
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-11-28 05:49:11 -08:00
|
|
|
# Experimental shielded blockchain scanning
|
|
|
|
shielded-scan = []
|
|
|
|
|
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"
|
2024-04-19 16:23:57 -07:00
|
|
|
chrono = { version = "0.4.38", default-features = false, features = ["clock", "std"] }
|
2023-05-02 10:11:36 -07:00
|
|
|
dirs = "5.0.1"
|
2024-01-01 17:26:54 -08:00
|
|
|
futures = "0.3.30"
|
2021-03-04 02:01:44 -08:00
|
|
|
hex = "0.4.3"
|
2023-09-19 07:49:36 -07:00
|
|
|
hex-literal = "0.4.1"
|
2023-09-27 14:42:43 -07:00
|
|
|
humantime-serde = "1.1.1"
|
2024-04-11 03:41:52 -07:00
|
|
|
human_bytes = { version = "0.4.3", default-features = false }
|
2024-04-16 19:20:28 -07:00
|
|
|
indexmap = "2.2.6"
|
2024-05-20 12:50:59 -07:00
|
|
|
itertools = "0.13.0"
|
2020-07-23 18:47:48 -07:00
|
|
|
lazy_static = "1.4.0"
|
2024-03-21 11:23:41 -07:00
|
|
|
metrics = "0.22.3"
|
2023-01-16 17:12:14 -08:00
|
|
|
mset = "0.1.1"
|
2024-04-16 19:20:28 -07:00
|
|
|
regex = "1.10.4"
|
2023-07-24 16:50:15 -07:00
|
|
|
rlimit = "0.10.1"
|
2024-02-19 10:17:34 -08:00
|
|
|
rocksdb = { version = "0.22.0", default-features = false, features = ["lz4"] }
|
2024-05-13 17:49:21 -07:00
|
|
|
semver = "1.0.23"
|
2024-05-20 12:50:59 -07:00
|
|
|
serde = { version = "1.0.202", features = ["serde_derive"] }
|
2024-03-21 11:23:41 -07:00
|
|
|
tempfile = "3.10.1"
|
2024-05-20 12:50:59 -07:00
|
|
|
thiserror = "1.0.61"
|
2022-06-14 23:43:20 -07:00
|
|
|
|
2024-04-16 19:20:28 -07:00
|
|
|
rayon = "1.10.0"
|
|
|
|
tokio = { version = "1.37.0", features = ["rt-multi-thread", "sync", "tracing"] }
|
2022-06-21 10:12:19 -07:00
|
|
|
tower = { version = "0.4.13", features = ["buffer", "util"] }
|
2023-10-16 13:13:38 -07:00
|
|
|
tracing = "0.1.39"
|
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 }
|
2024-05-13 17:49:21 -07:00
|
|
|
serde_json = { version = "1.0.117", package = "serde_json", optional = true }
|
2023-03-13 14:13:30 -07:00
|
|
|
|
2024-05-07 07:25:50 -07:00
|
|
|
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.37", 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
|
2024-05-07 07:25:50 -07:00
|
|
|
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.37", optional = true }
|
2023-11-14 17:03:57 -08:00
|
|
|
proptest = { version = "1.4.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]
|
2024-03-21 11:23:41 -07:00
|
|
|
color-eyre = "0.6.3"
|
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"] }
|
2024-05-20 12:50:59 -07:00
|
|
|
insta = { version = "1.39.0", features = ["ron", "redactions"] }
|
2022-03-18 13:30:16 -07:00
|
|
|
|
2023-11-14 17:03:57 -08:00
|
|
|
proptest = "1.4.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
|
|
|
|
2024-04-16 19:20:28 -07:00
|
|
|
tokio = { version = "1.37.0", features = ["full", "tracing", "test-util"] }
|
2021-11-16 11:47:54 -08:00
|
|
|
|
2024-05-07 07:25:50 -07:00
|
|
|
zebra-chain = { path = "../zebra-chain", version = "1.0.0-beta.37", features = ["proptest-impl"] }
|
|
|
|
zebra-test = { path = "../zebra-test/", version = "1.0.0-beta.37" }
|