mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-26 00:01:33 +00:00
feat: Add WebRTC transport (#2622)
Hey 👋 This is a WebRTC transport implemented in accordance w/ the [spec](https://github.com/libp2p/specs/pull/412). It's based on the [webrtc-rs](https://github.com/webrtc-rs/webrtc) library. Resolves: #1066.
This commit is contained in:
@ -125,6 +125,10 @@ pub use libp2p_uds as uds;
|
||||
#[cfg(feature = "wasm-ext")]
|
||||
#[doc(inline)]
|
||||
pub use libp2p_wasm_ext as wasm_ext;
|
||||
#[cfg(feature = "webrtc")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "webrtc")))]
|
||||
#[doc(inline)]
|
||||
pub use libp2p_webrtc as webrtc;
|
||||
#[cfg(feature = "websocket")]
|
||||
#[cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))]
|
||||
#[doc(inline)]
|
||||
|
Reference in New Issue
Block a user