rpc_toolkit_macro_internals/
lib.rs

1macro_rules! macro_try {
2    ($x:expr) => {
3        match $x {
4            Ok(a) => a,
5            Err(e) => return e.to_compile_error(),
6        }
7    };
8}
9
10mod command;
11mod rpc_handler;
12mod rpc_server;
13mod run_cli;
14
15pub use command::build::build as build_command;
16pub use rpc_handler::build::build as build_rpc_handler;
17pub use rpc_handler::RpcHandlerArgs;
18pub use rpc_server::build::build as build_rpc_server;
19pub use rpc_server::RpcServerArgs;
20pub use run_cli::build::build as build_run_cli;
21pub use run_cli::RunCliArgs;