59 releases (28 breaking)

new 0.28.2 Oct 23, 2024
0.27.2 Oct 10, 2024
0.26.7 Jul 27, 2024
0.22.0 Mar 27, 2024

#944 in WebAssembly

Download history 1552/week @ 2024-07-03 3509/week @ 2024-07-10 3236/week @ 2024-07-17 4427/week @ 2024-07-24 3910/week @ 2024-07-31 2231/week @ 2024-08-07 2471/week @ 2024-08-14 3208/week @ 2024-08-21 1913/week @ 2024-08-28 3278/week @ 2024-09-04 3739/week @ 2024-09-11 3717/week @ 2024-09-18 5416/week @ 2024-09-25 4654/week @ 2024-10-02 4828/week @ 2024-10-09 4495/week @ 2024-10-16

20,056 downloads per month
Used in 22 crates (17 directly)

Apache-2.0 WITH LLVM-exception

160KB
4.5K SLoC

wRPC transport abstractions, codec and framing

wRPC is an RPC framework based on WIT. It follows client-server model, where peers (servers) may serve function and method calls invoked by the other peers (clients).

The two main abstractions on top of which wRPC is built are:

  • [Invoke] - the client-side handle to a wRPC transport, allowing clients to invoke WIT functions over wRPC transport
  • [Serve] - the server-side handle to a wRPC transport, allowing servers to serve WIT functions over wRPC transport

Implementations of [Invoke] and [Serve] define transport-specific, multiplexed bidirectional byte stream types:

Dependencies

~4–13MB
~145K SLoC