60 releases (28 breaking)

0.28.3 Nov 6, 2024
0.27.2 Oct 10, 2024
0.26.7 Jul 27, 2024
0.22.0 Mar 27, 2024

#561 in WebAssembly

Download history 3968/week @ 2024-07-30 2563/week @ 2024-08-06 2096/week @ 2024-08-13 3314/week @ 2024-08-20 2259/week @ 2024-08-27 3208/week @ 2024-09-03 3215/week @ 2024-09-10 4024/week @ 2024-09-17 5025/week @ 2024-09-24 4511/week @ 2024-10-01 5176/week @ 2024-10-08 4353/week @ 2024-10-15 9076/week @ 2024-10-22 7466/week @ 2024-10-29 5879/week @ 2024-11-05 2823/week @ 2024-11-12

26,346 downloads per month
Used in 27 crates (21 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
~141K SLoC