umbral_socket/stream/mod.rs
1mod client;
2mod server;
3
4pub use server::UmbralServer;
5
6#[cfg(all(feature = "client-async", feature = "client-sync"))]
7compile_error!("features `client-async` and `client-sync` cannot be enabled at the same time");
8
9#[cfg(feature = "client-async")]
10pub use client::r#async::UmbralClient;
11
12#[cfg(feature = "client-sync")]
13pub use client::sync::UmbralClient;