diff --git a/Cargo.lock b/Cargo.lock index 8cac6ae867a..56296d30dd9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5773,6 +5773,14 @@ dependencies = [ "zebra-test", ] +[[package]] +name = "zebra-grpc" +version = "0.1.0-alpha.1" +dependencies = [ + "tonic", + "zebra-scan", +] + [[package]] name = "zebra-network" version = "1.0.0-beta.33" diff --git a/Cargo.toml b/Cargo.toml index 05a7d6ece9c..591c0d898e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ members = [ "zebra-test", "zebra-utils", "zebra-scan", + "zebra-grpc", "tower-batch-control", "tower-fallback", ] diff --git a/zebra-grpc/Cargo.toml b/zebra-grpc/Cargo.toml new file mode 100644 index 00000000000..850249c1c48 --- /dev/null +++ b/zebra-grpc/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "zebra-grpc" +version = "0.1.0-alpha.1" +authors = ["Zcash Foundation "] +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 +categories = ["cryptography::cryptocurrencies"] + +[dependencies] + +tonic = "0.10.2" + +zebra-scan = { path = "../zebra-scan", version = "0.1.0-alpha.1" } diff --git a/zebra-grpc/src/lib.rs b/zebra-grpc/src/lib.rs new file mode 100644 index 00000000000..f1ce9f492b0 --- /dev/null +++ b/zebra-grpc/src/lib.rs @@ -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")]