1515//!
1616//! * Minimal and Efficient : minimal codebase to provide efficient, memory-safe WebSocket handling.
1717//!
18- //! * Multiple Environment : `tokio`, `async-std`, ` smol`, `nio `, `glommio` are supported as async runtime ( by feature flags `rt_{name}` ).
18+ //! * Multiple Environment : `tokio`, `smol`, `glommio` are supported as async runtime ( by feature flags `rt_{name}` ).
1919//!
2020//! ## Note
2121//!
2626//! * Doesn't builtins `wss://` support.
2727
2828#[ cfg( any(
29- all( feature="rt_tokio" , any( feature="rt_async-std" , feature="rt_smol" , feature="rt_nio" , feature="rt_glommio" ) ) ,
30- all( feature="rt_async-std" , any( feature="rt_smol" , feature="rt_nio" , feature="rt_glommio" , feature="rt_tokio" ) ) ,
31- all( feature="rt_smol" , any( feature="rt_nio" , feature="rt_glommio" , feature="rt_tokio" , feature="rt_async-std" ) ) ,
32- all( feature="rt_nio" , any( feature="rt_glommio" , feature="rt_tokio" , feature="rt_async-std" , feature="rt_smol" ) ) ,
33- all( feature="rt_glommio" , any( feature="rt_tokio" , feature="rt_async-std" , feature="rt_smol" , feature="rt_nio" ) ) ,
29+ all( feature="rt_tokio" , any( feature="rt_smol" , feature="rt_glommio" ) ) ,
30+ all( feature="rt_smol" , any( feature="rt_glommio" , feature="rt_tokio" ) ) ,
31+ all( feature="rt_glommio" , any( feature="rt_tokio" , feature="rt_smol" ) ) ,
3432) ) ]
3533compile_error ! { "More than one runtime feature flags can't be activated" }
3634
@@ -45,15 +43,6 @@ mod runtime {
4543 tokio:: time:: sleep
4644 } ;
4745
48- #[ cfg( feature="rt_async-std" ) ]
49- pub use {
50- async_std:: net:: TcpStream ,
51- async_std:: io:: ReadExt as AsyncRead ,
52- async_std:: io:: WriteExt as AsyncWrite ,
53- async_std:: sync:: RwLock ,
54- async_std:: task:: sleep
55- } ;
56-
5746 #[ cfg( feature="rt_smol" ) ]
5847 pub use {
5948 smol:: net:: TcpStream ,
@@ -66,15 +55,6 @@ mod runtime {
6655 smol:: Timer :: after ( duration) . await ;
6756 }
6857
69- #[ cfg( feature="rt_nio" ) ]
70- pub use {
71- nio:: net:: TcpStream ,
72- tokio:: io:: AsyncReadExt as AsyncRead ,
73- tokio:: io:: AsyncWriteExt as AsyncWrite ,
74- tokio:: sync:: RwLock ,
75- nio:: time:: sleep
76- } ;
77-
7858 #[ cfg( feature="rt_glommio" ) ]
7959 pub use {
8060 glommio:: net:: TcpStream ,
0 commit comments