zebra-network 4.0.0

Networking code for Zebra
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85.0"
name = "zebra-network"
version = "4.0.0"
authors = [
    "Zcash Foundation <zebra@zfnd.org>",
    "Tower Maintainers <team@tower-rs.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Networking code for Zebra"
homepage = "https://zfnd.org/zebra/"
readme = "README.md"
keywords = [
    "zebra",
    "zcash",
]
categories = [
    "asynchronous",
    "cryptography::cryptocurrencies",
    "encoding",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/ZcashFoundation/zebra"

[features]
default = []
progress-bar = ["howudoin"]
proptest-impl = [
    "proptest",
    "proptest-derive",
    "zebra-chain/proptest-impl",
]

[lib]
name = "zebra_network"
path = "src/lib.rs"

[[test]]
name = "acceptance"
path = "tests/acceptance.rs"

[dependencies.bitflags]
version = "2.9"

[dependencies.byteorder]
version = "1.5"

[dependencies.bytes]
version = "1.10"

[dependencies.chrono]
version = "0.4.40"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.dirs]
version = "6.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.hex]
version = "0.4.3"

[dependencies.howudoin]
version = "0.1"
optional = true

[dependencies.humantime-serde]
version = "1.1"

[dependencies.indexmap]
version = "2.8"
features = ["serde"]

[dependencies.itertools]
version = "0.14"

[dependencies.lazy_static]
version = "1.4"

[dependencies.metrics]
version = "0.24"

[dependencies.num-integer]
version = "0.1.46"

[dependencies.ordered-map]
version = "0.4.2"

[dependencies.pin-project]
version = "1.1.10"

[dependencies.proptest]
version = "1.6"
optional = true

[dependencies.proptest-derive]
version = "0.5"
optional = true

[dependencies.rand]
version = "0.8.5"

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.11"

[dependencies.serde]
version = "1.0.219"
features = ["serde_derive"]

[dependencies.tempfile]
version = "3.20"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.44"
features = [
    "fs",
    "io-util",
    "net",
    "time",
    "tracing",
    "macros",
    "rt-multi-thread",
]

[dependencies.tokio-stream]
version = "0.1.17"
features = [
    "sync",
    "time",
]

[dependencies.tokio-util]
version = "0.7.14"
features = ["codec"]

[dependencies.tower]
version = "0.4.13"
features = [
    "retry",
    "discover",
    "load",
    "load-shed",
    "timeout",
    "util",
    "buffer",
]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-error]
version = "0.2"
features = ["traced-error"]

[dependencies.tracing-futures]
version = "0.2.5"

[dependencies.zebra-chain]
version = "5.0.0"
features = ["async-error"]

[dev-dependencies.proptest]
version = "1.6"

[dev-dependencies.proptest-derive]
version = "0.5"

[dev-dependencies.static_assertions]
version = "1.1"

[dev-dependencies.tokio]
version = "1.44"
features = [
    "full",
    "tracing",
    "test-util",
]

[dev-dependencies.toml]
version = "0.9.5"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(tokio_unstable)",
    'cfg(zcash_unstable, values("zfuture", "nu6.1", "nu7"))',
]