hyperlane-plugin-rpc 23.1.0

A JSON-RPC 2.0 server plugin for the Hyperlane framework with async method routing, batch dispatch, notification handling, and configurable payload and batch DoS bounds.
Documentation

hyperlane-plugin-rpc

JSON-RPC 2.0 Server Plugin

crates.io docs.rs Rust 2024 License: MIT

Workspace Overview · API Docs


Overview

Opt-in JSON-RPC 2.0 method router supporting batch execution, notifications, strict payload/batch size caps, and RpcHook.

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 — Method registry, batch dispatcher, and RpcHook

Installation

cargo add hyperlane-plugin-rpc

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-rpc --all-features --all-targets -- -D warnings
cargo test -p hyperlane-plugin-rpc --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.