Registry / networking / susy-jsonrpc-core

susy-jsonrpc-core

JSON →
library10.0.2rscratesunverified

Transport agnostic rust implementation of JSON-RPC 2.0 Specification.

# Cargo.toml [dependencies] susy-jsonrpc-core = "10.0.2"
INSTALL
IMPORT
SIG · SUSY-JSONRPC-CORE
S
susy-jsonrpc-core
networkingrustv10.0.2
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.

IoHandler
use susy_jsonrpc_core::IoHandler;

Create a JSON-RPC 2.0 handler and register a method.

use susy_jsonrpc_core::IoHandler; fn main() { let mut io = IoHandler::new(); io.add_method("say_hello", |_params| { Ok(serde_json::json!("hello")) }); println!("JSON-RPC handler created"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
10.0.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
susy-jsonrpc-core — cargo add susy-jsonrpc-core · libregistry