[package]
edition = "2021"
rust-version = "1.85.1"
name = "zebra-utils"
version = "6.0.0"
authors = ["Zcash Foundation <zebra@zfnd.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Developer tools for Zebra maintenance and testing"
homepage = "https://zfnd.org/zebra/"
readme = "README.md"
keywords = [
"zebra",
"zcash",
]
categories = [
"command-line-utilities",
"cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZcashFoundation/zebra"
[features]
default = []
search-issue-refs = [
"regex",
"reqwest",
"tokio",
]
zebra-checkpoints = [
"itertools",
"tokio",
"zebra-chain/json-conversion",
"zebra-node-services/rpc-client",
]
[lib]
name = "zebra_utils"
path = "src/lib.rs"
[[bin]]
name = "block-template-to-proposal"
path = "src/bin/block-template-to-proposal/main.rs"
[[bin]]
name = "search-issue-refs"
path = "src/bin/search-issue-refs/main.rs"
required-features = ["search-issue-refs"]
[[bin]]
name = "zebra-checkpoints"
path = "src/bin/zebra-checkpoints/main.rs"
required-features = ["zebra-checkpoints"]
[[test]]
name = "build_utils_for_zebrad_tests"
path = "tests/build_utils_for_zebrad_tests.rs"
[dependencies.color-eyre]
version = "0.6.3"
default-features = false
[dependencies.hex]
version = "0.4.3"
[dependencies.itertools]
version = "0.14"
optional = true
[dependencies.regex]
version = "1.11"
optional = true
[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
optional = true
default-features = false
[dependencies.serde_json]
version = "1.0.140"
[dependencies.structopt]
version = "0.3"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.44"
features = ["full"]
optional = true
[dependencies.tracing-error]
version = "0.2"
[dependencies.tracing-subscriber]
version = "0.3.19"
[dependencies.zcash_primitives]
version = "0.27"
optional = true
[dependencies.zcash_protocol]
version = "0.8"
[dependencies.zebra-chain]
version = "7.0.0"
[dependencies.zebra-node-services]
version = "5.0.0"
[dependencies.zebra-rpc]
version = "7.0.0"
[lints.clippy]
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
cast_ptr_alignment = "warn"
checked_conversions = "warn"
dbg_macro = "warn"
fallible_impl_from = "warn"
fn_to_numeric_cast_any = "warn"
implicit_saturating_sub = "warn"
invalid_upcast_comparisons = "warn"
print_stderr = "warn"
print_stdout = "warn"
range_minus_one = "warn"
range_plus_one = "warn"
result_large_err = "allow"
todo = "warn"
try_err = "allow"
unnecessary_cast = "warn"
unwrap_in_result = "warn"
[lints.rust]
missing_docs = "warn"
non_ascii_idents = "deny"
unsafe_code = "deny"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(tokio_unstable)",
'cfg(zcash_unstable, values("zfuture", "nu6.1", "nu7", "zip235"))',
]