1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! # eRPC Rust Implementation
//!
//! A pure Rust implementation of the eRPC (Embedded RPC) protocol,
//! providing client and server functionality with multiple transport options.
//!
//! ## Features
//!
//! - **Transport Layer**: TCP, Serial, and in-memory transports
//! - **Codec**: Binary protocol with little-endian encoding
//! - **Client/Server**: Async client manager and server implementations
//! - **Message Types**: Support for invocation, oneway, reply, and notification messages
//!
//! ## Example
//!
//! ```rust
//! use erpc_rust::{
//! client::ClientManager,
//! codec::BasicCodecFactory,
//! transport::memory::MemoryTransport,
//! };
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Create paired memory transports for testing
//! let (client_transport, _server_transport) = MemoryTransport::pair();
//! let codec_factory = BasicCodecFactory::new();
//! let _client = ClientManager::new(client_transport, codec_factory);
//!
//! // Use client for RPC calls
//! Ok(())
//! }
//! ```
// Re-export commonly used types
pub use ;
pub use ClientManager;
pub use ;
pub use ;
pub use ;
pub use ;
pub use TcpTransport;
pub use SerialTransport;