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

#914 in WebAssembly

Download history 10091/week @ 2024-10-23 6826/week @ 2024-10-30 5755/week @ 2024-11-06 3013/week @ 2024-11-13 9017/week @ 2024-11-20 6651/week @ 2024-11-27 5211/week @ 2024-12-04 5474/week @ 2024-12-11 3869/week @ 2024-12-18 2624/week @ 2024-12-25 1765/week @ 2025-01-01 4148/week @ 2025-01-08 1194/week @ 2025-01-15 5355/week @ 2025-01-22 11973/week @ 2025-01-29 16523/week @ 2025-02-05

35,762 downloads per month
Used in 31 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
~146K SLoC