2020-06-02 16:16:17 -07:00
|
|
|
[package]
|
|
|
|
name = "zebra-state"
|
2023-03-23 18:24:29 -07:00
|
|
|
version = "1.0.0-beta.22"
|
2020-06-02 16:16:17 -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"
|
2020-06-02 16:16:17 -07:00
|
|
|
|
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",
|
|
|
|
]
|
|
|
|
|
2020-06-02 16:16:17 -07:00
|
|
|
[dependencies]
|
2022-03-06 18:07:25 -08:00
|
|
|
bincode = "1.3.3"
|
2023-03-15 10:29:10 -07:00
|
|
|
chrono = { version = "0.4.24", default-features = false, features = ["clock", "std"] }
|
2023-03-22 12:37:46 -07:00
|
|
|
dirs = "5.0.0"
|
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-03-27 18:41:36 -07:00
|
|
|
indexmap = "1.9.3"
|
2022-09-20 19:53:22 -07:00
|
|
|
itertools = "0.10.5"
|
2020-07-23 18:47:48 -07:00
|
|
|
lazy_static = "1.4.0"
|
2022-09-26 21:19:01 -07:00
|
|
|
metrics = "0.20.1"
|
2023-01-16 17:12:14 -08:00
|
|
|
mset = "0.1.1"
|
2023-03-27 18:42:48 -07:00
|
|
|
regex = "1.7.3"
|
2023-01-31 12:38:10 -08:00
|
|
|
rlimit = "0.9.1"
|
2023-02-13 12:01:45 -08:00
|
|
|
rocksdb = { version = "0.20.1", default_features = false, features = ["lz4"] }
|
2023-04-11 20:07:44 -07:00
|
|
|
serde = { version = "1.0.160", features = ["serde_derive"] }
|
2023-03-29 21:26:05 -07:00
|
|
|
tempfile = "3.5.0"
|
2023-03-20 12:07:11 -07:00
|
|
|
thiserror = "1.0.40"
|
2022-06-14 23:43:20 -07:00
|
|
|
|
2023-03-07 06:22:51 -08:00
|
|
|
rayon = "1.7.0"
|
2023-03-28 18:50:47 -07:00
|
|
|
tokio = { version = "1.27.0", features = ["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.
|
|
|
|
elasticsearch = { version = "8.5.0-alpha.1", package = "elasticsearch", optional = true }
|
2023-04-13 18:21:50 -07:00
|
|
|
serde_json = { version = "1.0.96", package = "serde_json", optional = true }
|
2023-03-13 14:13:30 -07:00
|
|
|
|
2021-11-16 11:47:54 -08:00
|
|
|
zebra-chain = { path = "../zebra-chain" }
|
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
|
|
|
|
zebra-test = { path = "../zebra-test/", optional = true }
|
2023-03-27 21:13:26 -07:00
|
|
|
proptest = { version = "1.1.0", optional = true }
|
2022-07-22 09:19:11 -07:00
|
|
|
proptest-derive = { version = "0.3.0", optional = true }
|
|
|
|
|
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-02-15 19:04:22 -08:00
|
|
|
once_cell = "1.17.1"
|
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-03-23 11:25:07 -07:00
|
|
|
insta = { version = "1.29.0", features = ["ron"] }
|
2022-03-18 13:30:16 -07:00
|
|
|
|
2023-03-27 21:13:26 -07:00
|
|
|
proptest = "1.1.0"
|
2022-02-14 17:44:33 -08:00
|
|
|
proptest-derive = "0.3.0"
|
2022-03-01 18:44:39 -08:00
|
|
|
|
2022-06-27 16:12:56 -07:00
|
|
|
halo2 = { package = "halo2_proofs", version = "0.2.0" }
|
2022-05-18 18:03:55 -07:00
|
|
|
jubjub = "0.9.0"
|
2022-03-01 18:44:39 -08:00
|
|
|
|
2023-03-28 18:50:47 -07:00
|
|
|
tokio = { version = "1.27.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/" }
|