unicom/
lib.rs

1#![doc = include_str!("../README.md")]
2
3#[cfg(not(any(feature = "async", feature = "tokio")))]
4compile_error!("Either feature should be selected: async, tokio");
5
6#[cfg(all(feature = "async", feature = "tokio"))]
7compile_error!("Either feature should be selected: async, tokio. Not both together.");
8
9#[cfg(any(feature = "async", feature = "tokio"))]
10mod real;
11
12#[cfg(any(feature = "async", feature = "tokio"))]
13pub use real::*;