libp2p_webtransport_websys/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! Libp2p WebTransport built on [web-sys](https://rustwasm.github.io/wasm-bindgen/web-sys/index.html)

#![allow(unexpected_cfgs)]

mod bindings;
mod connection;
mod endpoint;
mod error;
mod fused_js_promise;
mod stream;
mod transport;
mod utils;

pub use self::{
    connection::Connection,
    error::Error,
    stream::Stream,
    transport::{Config, Transport},
};