2022-02-25 13:43:21 -08:00
|
|
|
[package]
|
|
|
|
name = "zebra-node-services"
|
2024-02-23 15:28:44 -08:00
|
|
|
version = "1.0.0-beta.35"
|
2022-02-25 13:43:21 -08:00
|
|
|
authors = ["Zcash Foundation <zebra@zfnd.org>"]
|
2023-06-13 01:46:01 -07:00
|
|
|
description = "The interfaces of some Zebra node services"
|
2022-02-25 13:43:21 -08:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
repository = "https://github.com/ZcashFoundation/zebra"
|
2023-06-13 01:46:01 -07:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
readme = "../README.md"
|
|
|
|
homepage = "https://zfnd.org/zebra/"
|
|
|
|
# crates.io is limited to 5 keywords and categories
|
|
|
|
keywords = ["zebra", "zcash"]
|
|
|
|
# Must be one of <https://crates.io/category_slugs>
|
|
|
|
categories = ["asynchronous", "cryptography::cryptocurrencies", "network-programming"]
|
2022-02-25 13:43:21 -08:00
|
|
|
|
2022-11-02 20:25:01 -07:00
|
|
|
[features]
|
|
|
|
default = []
|
2022-11-08 23:36:10 -08:00
|
|
|
|
|
|
|
# Production features that activate extra dependencies, or extra features in dependencies
|
|
|
|
|
2024-01-11 06:41:01 -08:00
|
|
|
# Mining RPC support
|
2022-11-08 23:36:10 -08:00
|
|
|
getblocktemplate-rpcs = [
|
|
|
|
"zebra-chain/getblocktemplate-rpcs",
|
|
|
|
]
|
2022-11-02 20:25:01 -07:00
|
|
|
|
2023-04-26 16:35:53 -07:00
|
|
|
# Tool and test features
|
|
|
|
|
|
|
|
rpc-client = [
|
|
|
|
"color-eyre",
|
|
|
|
"jsonrpc-core",
|
|
|
|
"reqwest",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2024-02-12 16:42:40 -08:00
|
|
|
shielded-scan = ["tokio"]
|
|
|
|
|
2022-02-25 13:43:21 -08:00
|
|
|
[dependencies]
|
2024-02-23 15:28:44 -08:00
|
|
|
zebra-chain = { path = "../zebra-chain" , version = "1.0.0-beta.35" }
|
2023-04-26 16:35:53 -07:00
|
|
|
|
|
|
|
# Optional dependencies
|
|
|
|
|
|
|
|
# Tool and test feature rpc-client
|
|
|
|
color-eyre = { version = "0.6.2", optional = true }
|
|
|
|
jsonrpc-core = { version = "18.0.0", optional = true }
|
2023-06-25 22:44:19 -07:00
|
|
|
# Security: avoid default dependency on openssl
|
2024-02-06 19:18:52 -08:00
|
|
|
reqwest = { version = "0.11.24", default-features = false, features = ["rustls-tls"], optional = true }
|
2024-01-30 06:00:28 -08:00
|
|
|
serde = { version = "1.0.196", optional = true }
|
|
|
|
serde_json = { version = "1.0.113", optional = true }
|
2024-02-12 16:42:40 -08:00
|
|
|
tokio = { version = "1.36.0", features = ["time"], optional = true }
|
2023-06-06 23:04:04 -07:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
|
|
|
color-eyre = "0.6.2"
|
|
|
|
jsonrpc-core = "18.0.0"
|
2024-02-06 19:18:52 -08:00
|
|
|
reqwest = { version = "0.11.24", default-features = false, features = ["rustls-tls"] }
|
2024-01-30 06:00:28 -08:00
|
|
|
serde = "1.0.196"
|
|
|
|
serde_json = "1.0.113"
|