2020-07-10 12:31:01 -07:00
|
|
|
[package]
|
|
|
|
name = "zebra-utils"
|
|
|
|
authors = ["Zcash Foundation <zebra@zfnd.org>"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
2023-04-18 20:25:51 -07:00
|
|
|
version = "1.0.0-beta.23"
|
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"
|
2023-01-17 18:11:15 -08:00
|
|
|
|
2020-08-17 12:38:37 -07:00
|
|
|
# Prevent accidental publication of this utility crate.
|
|
|
|
publish = false
|
2020-07-10 12:31:01 -07:00
|
|
|
|
2023-01-17 18:11:15 -08:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "block-template-to-proposal"
|
|
|
|
# this setting is required for Zebra's Docker build caches
|
|
|
|
path = "src/bin/block-template-to-proposal/main.rs"
|
|
|
|
required-features = ["getblocktemplate-rpcs"]
|
|
|
|
|
2023-03-27 18:40:54 -07:00
|
|
|
[[bin]]
|
|
|
|
name = "search-issue-refs"
|
|
|
|
path = "src/bin/search-issue-refs/main.rs"
|
|
|
|
required-features = ["search-issue-refs"]
|
|
|
|
|
2023-01-17 18:11:15 -08:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
|
2023-03-27 18:40:54 -07:00
|
|
|
search-issue-refs = ["regex", "reqwest", "tokio"]
|
|
|
|
|
2023-01-17 18:11:15 -08:00
|
|
|
# Production features that activate extra dependencies, or extra features in dependencies
|
|
|
|
|
|
|
|
# Experimental mining RPC support
|
|
|
|
getblocktemplate-rpcs = [
|
|
|
|
"zebra-rpc/getblocktemplate-rpcs",
|
|
|
|
"zebra-node-services/getblocktemplate-rpcs",
|
|
|
|
"zebra-chain/getblocktemplate-rpcs",
|
|
|
|
]
|
|
|
|
|
2020-07-10 12:31:01 -07:00
|
|
|
[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
|
|
|
|
|
|
|
structopt = "0.3.26"
|
2022-03-06 18:07:25 -08:00
|
|
|
hex = "0.4.3"
|
2023-04-13 18:21:50 -07:00
|
|
|
serde_json = "1.0.96"
|
2022-05-31 20:53:51 -07:00
|
|
|
tracing-error = "0.2.0"
|
2022-10-12 11:12:43 -07:00
|
|
|
tracing-subscriber = "0.3.16"
|
2023-03-20 12:07:11 -07:00
|
|
|
thiserror = "1.0.40"
|
2020-07-25 00:53:00 -07:00
|
|
|
|
2023-03-27 18:40:54 -07:00
|
|
|
# These crates are needed for the search-issue-refs binary
|
|
|
|
regex = { version = "1.7.1", optional = true }
|
|
|
|
reqwest = { version = "0.11.14", optional = true }
|
2023-03-28 18:50:47 -07:00
|
|
|
tokio = { version = "1.27.0", features = ["full"], optional = true }
|
2023-03-27 18:40:54 -07:00
|
|
|
|
2023-01-16 13:39:47 -08:00
|
|
|
zebra-node-services = { path = "../zebra-node-services" }
|
2020-07-25 00:53:00 -07:00
|
|
|
zebra-chain = { path = "../zebra-chain" }
|
2023-01-17 18:11:15 -08:00
|
|
|
|
|
|
|
# Experimental feature getblocktemplate-rpcs
|
|
|
|
zebra-rpc = { path = "../zebra-rpc", optional = true }
|