Skip to content

JSON-RPC v8.0.0

Compare
Choose a tag to compare
@tomusdrw tomusdrw released this 21 Nov 13:38
· 219 commits to master since this release
  • 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 Boxing of returned Futures.
  • 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> and jsonrpc_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"