# 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" name = "zebra-rpc" version = "1.0.0-beta.42" authors = ["Zcash Foundation "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A Zebra JSON Remote Procedure Call (JSON-RPC) interface" homepage = "https://zfnd.org/zebra/" readme = "README.md" keywords = [ "zebra", "zcash", ] categories = [ "asynchronous", "cryptography::cryptocurrencies", "encoding", "network-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/ZcashFoundation/zebra" [lib] name = "zebra_rpc" path = "src/lib.rs" [dependencies.base64] version = "0.22.1" [dependencies.chrono] version = "0.4.38" features = [ "clock", "std", ] default-features = false [dependencies.color-eyre] version = "0.6.3" [dependencies.futures] version = "0.3.31" [dependencies.hex] version = "0.4.3" features = ["serde"] [dependencies.indexmap] version = "2.6.0" features = ["serde"] [dependencies.jsonrpc-core] version = "18.0.0" [dependencies.jsonrpc-derive] version = "18.0.0" [dependencies.jsonrpc-http-server] version = "18.0.0" [dependencies.nix] version = "0.29.0" features = ["signal"] [dependencies.proptest] version = "1.4.0" optional = true [dependencies.prost] version = "0.13.3" optional = true [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0.211" features = ["serde_derive"] [dependencies.serde_json] version = "1.0.132" features = ["preserve_order"] [dependencies.tokio] version = "1.41.0" features = [ "time", "rt-multi-thread", "macros", "tracing", ] [dependencies.tokio-stream] version = "0.1.16" optional = true [dependencies.tonic] version = "0.12.3" optional = true [dependencies.tonic-reflection] version = "0.12.3" optional = true [dependencies.tower] version = "0.4.13" [dependencies.tracing] version = "0.1.39" [dependencies.zcash_address] version = "0.6.0" optional = true [dependencies.zcash_primitives] version = "0.19.0" features = ["transparent-inputs"] [dependencies.zebra-chain] version = "1.0.0-beta.42" features = ["json-conversion"] [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-script] version = "1.0.0-beta.42" [dependencies.zebra-state] version = "1.0.0-beta.42" [dev-dependencies.insta] version = "1.40.0" features = [ "redactions", "json", "ron", ] [dev-dependencies.proptest] version = "1.4.0" [dev-dependencies.thiserror] version = "1.0.64" [dev-dependencies.tokio] version = "1.41.0" features = [ "full", "tracing", "test-util", ] [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-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" [build-dependencies.tonic-build] version = "0.12.3" optional = true [features] getblocktemplate-rpcs = [ "zcash_address", "zebra-consensus/getblocktemplate-rpcs", "zebra-state/getblocktemplate-rpcs", "zebra-node-services/getblocktemplate-rpcs", "zebra-chain/getblocktemplate-rpcs", ] indexer-rpcs = [ "tonic-build", "tonic", "tonic-reflection", "prost", "tokio-stream", ] internal-miner = [] proptest-impl = [ "proptest", "zebra-consensus/proptest-impl", "zebra-state/proptest-impl", "zebra-network/proptest-impl", "zebra-chain/proptest-impl", ]