[package] name = "ant-libp2p-websocket-websys" edition = "2021" rust-version = "1.60.0" description = "WebSocket for libp2p under WASM environment" version = "0.4.1" authors = ["Vince Vasta "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] bytes = "1.6.0" futures = { workspace = true } js-sys = "0.3.69" ant-libp2p-core = { workspace = true } tracing = { workspace = true } parking_lot = "0.12.3" send_wrapper = "0.6.0" thiserror = { workspace = true } wasm-bindgen = "0.2.90" web-sys = { version = "0.3.69", features = ["BinaryType", "CloseEvent", "MessageEvent", "WebSocket", "Window", "WorkerGlobalScope"] } # 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 [dev-dependencies] ant-libp2p-yamux = { workspace = true } ant-libp2p-noise = { workspace = true } libp2p-identity = { workspace = true, features = ["rand"] }