libp2p / rust-libp2p

The Rust Implementation of the libp2p networking stack.
https://libp2p.io
MIT License
4.51k stars 936 forks source link

dns: add `web-sys` support to `dns` Transport #5619

Closed DougAnderson444 closed 3 hours ago

DougAnderson444 commented 4 hours ago

Description

Right now, libp2p-dns supports tokio and async-std but we won't be able to resolve from a wasm executor in web-sys.

Motivation

I want to resolve dnsaddr multiaddrs from wasm

Current Implementation

Currently only tokio and async-std

Are you planning to do it yourself in a pull request ?

Maybe

DougAnderson444 commented 3 hours ago

Duplicate of https://github.com/libp2p/rust-libp2p/issues/5531, closing.