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

#536 in WebAssembly

Download history 3024/week @ 2024-08-22 2116/week @ 2024-08-29 3140/week @ 2024-09-05 4160/week @ 2024-09-12 4118/week @ 2024-09-19 5170/week @ 2024-09-26 4842/week @ 2024-10-03 4463/week @ 2024-10-10 6554/week @ 2024-10-17 8580/week @ 2024-10-24 6191/week @ 2024-10-31 5189/week @ 2024-11-07 5454/week @ 2024-11-14 7126/week @ 2024-11-21 6991/week @ 2024-11-28 5068/week @ 2024-12-05

25,076 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
~145K SLoC