[package]
name = "libp2p-webtransport-websys"
edition = "2021"
rust-version = { workspace = true }
description = "WebTransport for libp2p under WASM environment"
version = "0.2.0"
authors = [
"Yiannis Marangos <yiannis@eiger.co>",
"oblique <psyberbits@gmail.com>",
]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
keywords = ["peer-to-peer", "libp2p", "networking"]
categories = ["network-programming", "asynchronous"]
[dependencies]
futures = "0.3.29"
js-sys = "0.3.64"
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.50"
tracing = "0.1.37"
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.37"
web-sys = { version = "0.3.64", features = [
"ReadableStreamDefaultReader",
"WebTransport",
"WebTransportBidirectionalStream",
"WebTransportHash",
"WebTransportOptions",
"WebTransportReceiveStream",
"WebTransportSendStream",
"WritableStreamDefaultWriter",
] }
[dev-dependencies]
multibase = "0.9.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
rustc-args = ["--cfg", "docsrs"]
[lints]
workspace = true