hyperlane-plugin-grpc 22.12.0

A gRPC over HTTP/2 server plugin for the Hyperlane framework with length-prefixed framing, bounded decompression, gRPC status codes, timeout parsing, service routing, and an opt-in ServerHook.
Documentation

hyperlane-plugin-grpc

gRPC over HTTP/2 Plugin

crates.io docs.rs Rust 2024 License: MIT

Workspace Overview · API Docs · Agent Engineering Rules


Overview

Opt-in gRPC framing and dispatch over Hyperlane HTTP/2 with 5-byte length-prefixed frames, bounded compression, gRPC status codes 0..=16, and grpc-timeout.

This crate is a member of the hyperlane unified Rust 2024 workspace. All plugin crates are opt-in and transparent (Status::Continue) when unconfigured.

Responsibilities & Module Layout

  • struct / trait / impl — GrpcHook, codec helpers, and trailer status mapping

Installation

cargo add hyperlane-plugin-grpc

Verification

Run crate-scoped formatting, lint, and test gates from the workspace root:

cargo run -p hyperlane-cli -- fmt --check
cargo clippy -p hyperlane-plugin-grpc --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-grpc --all-features

Documentation & Governance

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.