@@ -271,7 +271,7 @@ pub use self::transport_ext::TransportExt;
271271///
272272/// > **Note**: This `Transport` is not suitable for production usage, as its implementation
273273/// > reserves the right to support additional protocols or remove deprecated protocols.
274- #[ cfg( all( not( any( target_os = "emscripten" , target_os = "wasi" , target_os = "unknown" ) ) , any( feature = "tcp-async-std" , feature = "tcp-tokio" ) , feature = "websocket" , feature = "secio " , feature = "mplex" , feature = "yamux" ) ) ]
274+ #[ cfg( all( not( any( target_os = "emscripten" , target_os = "wasi" , target_os = "unknown" ) ) , any( feature = "tcp-async-std" , feature = "tcp-tokio" ) , feature = "websocket" , feature = "noise " , feature = "mplex" , feature = "yamux" ) ) ]
275275#[ cfg_attr( docsrs, doc( cfg( all( not( any( target_os = "emscripten" , target_os = "wasi" , target_os = "unknown" ) ) , any( feature = "tcp-async-std" , feature = "tcp-tokio" ) , feature = "websocket" , feature = "noise" , feature = "mplex" , feature = "yamux" ) ) ) ) ]
276276pub fn build_development_transport ( keypair : identity:: Keypair )
277277 -> std:: io:: Result < impl Transport < Output = ( PeerId , impl core:: muxing:: StreamMuxer < OutboundSubstream = impl Send , Substream = impl Send , Error = impl Into < std:: io:: Error > > + Send + Sync ) , Error = impl std:: error:: Error + Send , Listener = impl Send , Dial = impl Send , ListenerUpgrade = impl Send > + Clone >
@@ -283,7 +283,7 @@ pub fn build_development_transport(keypair: identity::Keypair)
283283///
284284/// The implementation supports TCP/IP, WebSockets over TCP/IP, noise as the encryption layer,
285285/// and mplex or yamux as the multiplexing layer.
286- #[ cfg( all( not( any( target_os = "emscripten" , target_os = "wasi" , target_os = "unknown" ) ) , any( feature = "tcp-async-std" , feature = "tcp-tokio" ) , feature = "websocket" , feature = "secio " , feature = "mplex" , feature = "yamux" ) ) ]
286+ #[ cfg( all( not( any( target_os = "emscripten" , target_os = "wasi" , target_os = "unknown" ) ) , any( feature = "tcp-async-std" , feature = "tcp-tokio" ) , feature = "websocket" , feature = "noise " , feature = "mplex" , feature = "yamux" ) ) ]
287287#[ cfg_attr( docsrs, doc( cfg( all( not( any( target_os = "emscripten" , target_os = "wasi" , target_os = "unknown" ) ) , any( feature = "tcp-async-std" , feature = "tcp-tokio" ) , feature = "websocket" , feature = "noise" , feature = "mplex" , feature = "yamux" ) ) ) ) ]
288288pub fn build_tcp_ws_noise_mplex_yamux ( keypair : identity:: Keypair )
289289 -> std:: io:: Result < impl Transport < Output = ( PeerId , impl core:: muxing:: StreamMuxer < OutboundSubstream = impl Send , Substream = impl Send , Error = impl Into < std:: io:: Error > > + Send + Sync ) , Error = impl std:: error:: Error + Send , Listener = impl Send , Dial = impl Send , ListenerUpgrade = impl Send > + Clone >
0 commit comments