# 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.81.0" name = "zebrad" version = "2.0.1" authors = ["Zcash Foundation "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false default-run = "zebrad" description = "The Zcash Foundation's independent, consensus-compatible implementation of a Zcash node" 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" [package.metadata.docs.rs] features = [ "default-release-binaries", "filter-reload", "flamegraph", "journald", "prometheus", "sentry", ] [[package.metadata.release.pre-release-replacements]] file = "../book/src/user/install.md" replace = "git checkout v{{version}}" search = 'git checkout [a-z0-9\.-]+' [[package.metadata.release.pre-release-replacements]] file = "../book/src/user/install.md" replace = "--tag v{{version}}" search = '--tag [a-z0-9\.-]+' [[package.metadata.release.pre-release-replacements]] file = "../book/src/user/docker.md" replace = "--branch v{{version}}" search = '--branch [a-z0-9\.-]+' [lib] name = "zebrad" path = "src/lib.rs" [[bin]] name = "zebrad" path = "src/bin/zebrad/main.rs" [[test]] name = "acceptance" path = "tests/acceptance.rs" [[test]] name = "end_of_support" path = "tests/end_of_support.rs" [dependencies.abscissa_core] version = "0.7.0" [dependencies.atty] version = "0.2.14" [dependencies.bytes] version = "1.8.0" optional = true [dependencies.chrono] version = "0.4.38" features = [ "clock", "std", ] default-features = false [dependencies.clap] version = "4.5.20" features = ["cargo"] [dependencies.color-eyre] version = "0.6.3" features = ["issue-url"] default-features = false [dependencies.console-subscriber] version = "0.4.0" optional = true [dependencies.dirs] version = "5.0.1" [dependencies.futures] version = "0.3.31" [dependencies.howudoin] version = "0.1.2" features = ["term-line"] optional = true [dependencies.http-body-util] version = "0.1.2" optional = true [dependencies.humantime-serde] version = "1.1.1" [dependencies.hyper] version = "1.5.0" features = [ "http1", "http2", "server", ] optional = true [dependencies.hyper-util] version = "0.1.9" optional = true [dependencies.indexmap] version = "2.6.0" [dependencies.indicatif] version = "0.17.8" optional = true [dependencies.inferno] version = "0.11.21" optional = true default-features = false [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.22" [dependencies.metrics] version = "0.24.0" [dependencies.metrics-exporter-prometheus] version = "0.16.0" features = ["http-listener"] optional = true default-features = false [dependencies.num-integer] version = "0.1.46" [dependencies.pin-project] version = "1.1.6" [dependencies.proptest] version = "1.4.0" optional = true [dependencies.proptest-derive] version = "0.5.0" optional = true [dependencies.rand] version = "0.8.5" [dependencies.rayon] version = "1.10.0" [dependencies.semver] version = "1.0.23" [dependencies.sentry] version = "0.32.2" features = [ "backtrace", "contexts", "reqwest", "rustls", "tracing", ] optional = true default-features = false [dependencies.serde] version = "1.0.211" features = ["serde_derive"] [dependencies.thiserror] version = "1.0.64" [dependencies.thread-priority] version = "1.0.0" optional = true [dependencies.tinyvec] version = "1.8.0" features = ["rustc_1_55"] [dependencies.tokio] version = "1.41.0" features = [ "time", "rt-multi-thread", "macros", "tracing", "signal", ] [dependencies.tokio-stream] version = "0.1.16" features = ["time"] [dependencies.toml] version = "0.8.19" [dependencies.tower] version = "0.4.13" features = [ "hedge", "limit", ] [dependencies.tracing] version = "0.1.39" [dependencies.tracing-appender] version = "0.2.3" [dependencies.tracing-error] version = "0.2.0" [dependencies.tracing-flame] version = "0.2.0" optional = true [dependencies.tracing-futures] version = "0.2.5" [dependencies.tracing-journald] version = "0.3.0" optional = true [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dependencies.zebra-chain] version = "1.0.0-beta.42" [dependencies.zebra-consensus] version = "1.0.0-beta.42" [dependencies.zebra-network] version = "1.0.0-beta.42" [dependencies.zebra-node-services] version = "1.0.0-beta.42" features = ["rpc-client"] [dependencies.zebra-rpc] version = "1.0.0-beta.42" [dependencies.zebra-state] version = "1.0.0-beta.42" [dependencies.zebra-utils] version = "1.0.0-beta.42" optional = true [dev-dependencies.abscissa_core] version = "0.7.0" features = ["testing"] [dev-dependencies.color-eyre] version = "0.6.3" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.hyper] version = "1.5.0" features = [ "http1", "http2", "server", ] [dev-dependencies.insta] version = "1.40.0" features = ["json"] [dev-dependencies.jsonrpc-core] version = "18.0.0" [dev-dependencies.once_cell] version = "1.20.2" [dev-dependencies.proptest] version = "1.4.0" [dev-dependencies.proptest-derive] version = "0.5.0" [dev-dependencies.prost] version = "0.13.3" [dev-dependencies.regex] version = "1.11.0" [dev-dependencies.serde_json] version = "1.0.132" features = ["preserve_order"] [dev-dependencies.tempfile] version = "3.13.0" [dev-dependencies.tokio] version = "1.41.0" features = [ "full", "tracing", "test-util", ] [dev-dependencies.tokio-stream] version = "0.1.16" [dev-dependencies.tonic] version = "0.12.3" [dev-dependencies.tracing-test] version = "0.2.4" features = ["no-env-filter"] [dev-dependencies.zebra-chain] version = "1.0.0-beta.42" features = ["proptest-impl"] [dev-dependencies.zebra-consensus] version = "1.0.0-beta.42" features = ["proptest-impl"] [dev-dependencies.zebra-grpc] version = "0.1.0-alpha.9" [dev-dependencies.zebra-network] version = "1.0.0-beta.42" features = ["proptest-impl"] [dev-dependencies.zebra-state] version = "1.0.0-beta.42" features = ["proptest-impl"] [dev-dependencies.zebra-test] version = "1.0.0-beta.42" [dev-dependencies.zebra-utils] version = "1.0.0-beta.42" [build-dependencies.tonic-build] version = "0.12.3" optional = true [build-dependencies.vergen] version = "8.3.2" features = [ "cargo", "git", "git2", "rustc", ] default-features = false [features] default = [ "release_max_level_info", "progress-bar", "getblocktemplate-rpcs", ] default-release-binaries = [ "default", "sentry", ] elasticsearch = ["zebra-state/elasticsearch"] error-debug = [ "color-eyre/track-caller", "color-eyre/capture-spantrace", ] filter-reload = [ "hyper", "http-body-util", "hyper-util", "bytes", ] flamegraph = [ "tracing-flame", "inferno", ] getblocktemplate-rpcs = [ "zebra-rpc/getblocktemplate-rpcs", "zebra-consensus/getblocktemplate-rpcs", "zebra-state/getblocktemplate-rpcs", "zebra-node-services/getblocktemplate-rpcs", "zebra-chain/getblocktemplate-rpcs", ] indexer-rpcs = ["zebra-rpc/indexer-rpcs"] internal-miner = [ "thread-priority", "zebra-chain/internal-miner", "zebra-rpc/internal-miner", "zebra-rpc/getblocktemplate-rpcs", ] journald = ["tracing-journald"] lightwalletd-grpc-tests = ["tonic-build"] max_level_debug = [ "tracing/max_level_debug", "log/max_level_debug", ] max_level_info = ["tracing/max_level_info"] max_level_warn = ["tracing/max_level_warn"] progress-bar = [ "howudoin", "indicatif", "zebra-consensus/progress-bar", "zebra-state/progress-bar", "zebra-network/progress-bar", ] prometheus = ["metrics-exporter-prometheus"] proptest-impl = [ "proptest", "proptest-derive", "zebra-consensus/proptest-impl", "zebra-state/proptest-impl", "zebra-network/proptest-impl", "zebra-chain/proptest-impl", ] release_max_level_debug = ["tracing/release_max_level_debug"] release_max_level_info = [ "tracing/release_max_level_info", "log/release_max_level_info", ] release_max_level_warn = ["tracing/release_max_level_warn"] sentry = ["dep:sentry"] test_sync_past_mandatory_checkpoint_mainnet = [] test_sync_past_mandatory_checkpoint_testnet = [] test_sync_to_mandatory_checkpoint_mainnet = [] test_sync_to_mandatory_checkpoint_testnet = [] tokio-console = ["console-subscriber"] zebra-checkpoints = ["zebra-utils/zebra-checkpoints"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(tokio_unstable)"]