build(crate): Add a new `zebra-grpc` crate (#8167)
* add `zebra-grpc` crate * add missing fields * convert to a lib * add zebra-scan and tonic as depenency
This commit is contained in:
parent
5bd8593367
commit
001555b134
|
|
@ -5762,6 +5762,14 @@ dependencies = [
|
||||||
"zebra-test",
|
"zebra-test",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "zebra-grpc"
|
||||||
|
version = "0.1.0-alpha.1"
|
||||||
|
dependencies = [
|
||||||
|
"tonic",
|
||||||
|
"zebra-scan",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "zebra-network"
|
name = "zebra-network"
|
||||||
version = "1.0.0-beta.34"
|
version = "1.0.0-beta.34"
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ members = [
|
||||||
"zebra-test",
|
"zebra-test",
|
||||||
"zebra-utils",
|
"zebra-utils",
|
||||||
"zebra-scan",
|
"zebra-scan",
|
||||||
|
"zebra-grpc",
|
||||||
"tower-batch-control",
|
"tower-batch-control",
|
||||||
"tower-fallback",
|
"tower-fallback",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
[package]
|
||||||
|
name = "zebra-grpc"
|
||||||
|
version = "0.1.0-alpha.1"
|
||||||
|
authors = ["Zcash Foundation <zebra@zfnd.org>"]
|
||||||
|
description = "Zebra gRPC interface"
|
||||||
|
license = "MIT OR Apache-2.0"
|
||||||
|
repository = "https://github.com/ZcashFoundation/zebra"
|
||||||
|
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 = ["cryptography::cryptocurrencies"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
|
||||||
|
tonic = "0.10.2"
|
||||||
|
|
||||||
|
zebra-scan = { path = "../zebra-scan", version = "0.1.0-alpha.1" }
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
//! Zebra gRPC interface.
|
||||||
|
|
||||||
|
#![doc(html_favicon_url = "https://zfnd.org/wp-content/uploads/2022/03/zebra-favicon-128.png")]
|
||||||
|
#![doc(html_logo_url = "https://zfnd.org/wp-content/uploads/2022/03/zebra-icon.png")]
|
||||||
|
#![doc(html_root_url = "https://docs.rs/zebra_grpc")]
|
||||||
Loading…
Reference in New Issue