[package] name = "libp2p-webtransport-websys" edition = "2021" rust-version = { workspace = true } description = "WebTransport for libp2p under WASM environment" version = "0.4.0" authors = [ "Yiannis Marangos ", "oblique ", ] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] futures = { workspace = true } js-sys = "0.3.69" libp2p-core = { workspace = true } libp2p-identity = { workspace = true } libp2p-noise = { workspace = true } multiaddr = { workspace = true } multihash = { workspace = true } send_wrapper = { version = "0.6.0", features = ["futures"] } thiserror = "1.0.61" tracing = { workspace = true } wasm-bindgen = "0.2.90" wasm-bindgen-futures = "0.4.42" web-sys = { version = "0.3.69", features = [ "ReadableStreamDefaultReader", "WebTransport", "WebTransportBidirectionalStream", "WebTransportHash", "WebTransportOptions", "WebTransportReceiveStream", "WebTransportSendStream", "WritableStreamDefaultWriter", ] } [dev-dependencies] multibase = "0.9.1" # Passing arguments to the docsrs builder in order to properly document cfg's. # More information: https://docs.rs/about/builds#cross-compiling [package.metadata.docs.rs] all-features = true [lints] workspace = true