1mod openrpc;
2mod registry;
3mod rpc_method;
4
5pub use crate::{
6 openrpc::OpenRpcInfo,
7 registry::Registry,
8 rpc_method::{MethodDoc, RpcMethod},
9};
10
11#[cfg(feature = "inventory")]
12pub use crate::registry::MethodDocInventoryEntry;
13
14#[cfg(feature = "proc-macro")]
15pub use typed_openrpc_macros::rpc_method;
16
17#[cfg(feature = "inventory")]
18pub use inventory;
19
20pub mod prelude {
22 pub use super::{MethodDoc, Registry, RpcMethod};
23
24 #[cfg(feature = "proc-macro")]
25 pub use super::rpc_method;
26
27 #[cfg(feature = "inventory")]
28 pub use super::MethodDocInventoryEntry;
29}