mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-31 00:41:59 +00:00
By default, clippy doesn't suggest changes if it would break the public API. Whilst a sensible default, it makes us miss certain opportunities to follow conventions correctly. When a new lint is added, we can always temporarily allow it and make a change in the next breaking release but I think it is better to be aware of the lint than having it automatically silenced. Pull-Request: #4653.
Rust libp2p-webrtc-websys
Browser Transport made available through web-sys
bindings.
Usage
Use with Swarm::with_wasm_executor
to enable the wasm-bindgen
executor for the Swarm
.
See the browser-webrtc example for a full example.