Registry / networking / jsonrpc-pubsub

jsonrpc-pubsub

JSON →
library18.0.0rscratesunverified

Publish-Subscribe extension for jsonrpc

# Cargo.toml [dependencies] jsonrpc-pubsub = "18.0.0"
INSTALL
IMPORT
SIG · JSONRPC-PUBSUB
J
jsonrpc-pubsub
networkingrustv18.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PubSubHandler
use jsonrpc_pubsub::PubSubHandler;

Create a JSON-RPC pub/sub handler

use jsonrpc_pubsub::PubSubHandler; fn main() { let mut handler = PubSubHandler::default(); // Add subscriptions }
Debug
Known issues
breakingDeprecated in favor of jsonrpsee
fix
Migrate to jsonrpsee for active development
affects: >=18.0.0
Upgrade
Version history
18.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jsonrpc-pubsub — cargo add jsonrpc-pubsub · libregistry