aduib_rpc/
lib.rs

1//! Aduib RPC Rust SDK (preview)
2//!
3//! This crate provides a small, transport-agnostic client for calling an Aduib RPC server.
4//!
5//! Currently supported:
6//! - JSON-RPC over HTTP (+ optional SSE streaming)
7//! - REST over HTTP (+ optional SSE streaming)
8
9pub mod error;
10pub mod types;
11
12pub mod client;
13pub mod transport;
14
15#[cfg(feature = "grpc")]
16pub mod grpc;
17
18pub use client::{AduibRpcClient, AduibRpcClientBuilder, TransportKind};
19pub use error::{AduibRpcClientError, RemoteError};
20pub use types::{AduibRpcError, AduibRpcRequest, AduibRpcResponse};