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 = "nats")]
10    pub use wrpc_transport_nats as nats;
11
12    #[cfg(feature = "quic")]
13    pub use wrpc_transport_quic as quic;
14
15    #[cfg(feature = "web-transport")]
16    pub use wrpc_transport_web as web;
17}
18
19/// wRPC runtime
20pub mod runtime {
21    #[cfg(feature = "wasmtime")]
22    pub use wrpc_runtime_wasmtime as wasmtime;
23}
24
25pub use transport::{Index, Invoke, Serve};