# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60.0" name = "ant-libp2p-websocket-websys" version = "0.4.1" authors = ["Vince Vasta "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "WebSocket for libp2p under WASM environment" readme = false keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" [package.metadata.docs.rs] all-features = true [lib] name = "ant_libp2p_websocket_websys" path = "src/lib.rs" [dependencies.ant-libp2p-core] version = "0.42.1" [dependencies.bytes] version = "1.6.0" [dependencies.futures] version = "0.3.30" [dependencies.js-sys] version = "0.3.69" [dependencies.parking_lot] version = "0.12.3" [dependencies.send_wrapper] version = "0.6.0" [dependencies.thiserror] version = "2" [dependencies.tracing] version = "0.1.37" [dependencies.wasm-bindgen] version = "0.2.90" [dependencies.web-sys] version = "0.3.69" features = [ "BinaryType", "CloseEvent", "MessageEvent", "WebSocket", "Window", "WorkerGlobalScope", ] [dev-dependencies.ant-libp2p-noise] version = "0.45.1" [dev-dependencies.ant-libp2p-yamux] version = "0.46.0" [dev-dependencies.libp2p-identity] version = "0.2.10" features = ["rand"]