wrpc/lib.rs
1//! wRPC is an RPC framework based on WIT
2
3#![deny(missing_docs)]
4
5/// wRPC transport
6pub mod transport {
7 pub use wrpc_transport::*;
8
9 #[cfg(feature = "http")]
10 pub use wrpc_http as http;
11
12 #[cfg(feature = "quic")]
13 pub use wrpc_quic as quic;
14
15 #[cfg(feature = "webtransport")]
16 pub use wrpc_webtransport as web;
17
18 #[cfg(feature = "websockets")]
19 pub use wrpc_websockets as websockets;
20}
21
22/// wRPC runtime
23pub mod runtime {
24 #[cfg(feature = "wasmtime")]
25 pub use wrpc_wasmtime as wasmtime;
26}
27
28pub use transport::{Invoke, Serve};