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

#777 in WebAssembly

Download history 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 3342/week @ 2024-11-12 8788/week @ 2024-11-19 6135/week @ 2024-11-26 6058/week @ 2024-12-03 5538/week @ 2024-12-10 4417/week @ 2024-12-17 2151/week @ 2024-12-24 2246/week @ 2024-12-31 3000/week @ 2025-01-07

12,909 downloads per month
Used in 29 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–14MB
~145K SLoC