JSON-RPC v8.0.0
- Unifies async and sync methods by allowing the implemetations to return anything that's
IntoFuture
. - Introduces associated types in many places to get rid of uncessary
Box
ing of returnedFutures
. - HTTP server get's (opt-in) REST -> RPC converter (you can do
curl -X POST http://localhost:3000/some_method/"param1"
) - New/altered type aliases
jsonrpc_core::Result<T> = Result<T, Error>
andjsonrpc_core::BoxFuture<T> = Box<Future<Item=T, Error=Error>>
jsonrpc-core = "8.0.0"
jsonrpc-macros = "8.0.0"
jsonrpc-pubsub = "8.0.0"
jsonrpc-server-utils = "8.0.0"
jsonrpc-http-server = "8.0.0"
jsonrpc-tcp-server = "8.0.0"
jsonrpc-test = "8.0.0"