rust_mcp_transport/
lib.rs1#[cfg(feature = "sse")]
6mod client_sse;
7#[cfg(feature = "streamable-http")]
8mod client_streamable_http;
9mod constants;
10pub mod error;
11pub mod event_store;
12mod mcp_stream;
13mod message_dispatcher;
14mod schema;
15#[cfg(any(feature = "sse", feature = "streamable-http"))]
16mod sse;
17#[cfg(feature = "stdio")]
18mod stdio;
19mod transport;
20mod utils;
21
22#[cfg(feature = "sse")]
23pub use client_sse::*;
24#[cfg(feature = "streamable-http")]
25pub use client_streamable_http::*;
26pub use constants::*;
27pub use message_dispatcher::*;
28#[cfg(any(feature = "sse", feature = "streamable-http"))]
29pub use sse::*;
30#[cfg(feature = "stdio")]
31pub use stdio::*;
32pub use transport::*;
33
34pub type SessionId = String;
36pub type StreamId = String;
38pub type EventId = String;