Registry / web-framework / jsonrpc-http-server

jsonrpc-http-server

JSON →
library18.0.0rscratesunverified

Rust HTTP server using JSONRPC 2.0.

# Cargo.toml [dependencies] jsonrpc-http-server = "18.0.0"
INSTALL
IMPORT
SIG · JSONRPC-HTTP-SERVE
J
jsonrpc-http-server
web-frameworkrustv18.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.

ServerBuilder
use jsonrpc_http_server::ServerBuilder;

Starts a JSON-RPC HTTP server on localhost:3030.

use jsonrpc_http_server::ServerBuilder; fn main() { let server = ServerBuilder::new("127.0.0.1:3030".parse().unwrap()) .build(); server.wait(); }
Debug
Known issues
breakingThe crate is deprecated; consider using jsonrpsee or axum with jsonrpc.
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-http-server — cargo add jsonrpc-http-server · libregistry