websock-wasm 0.5.0

WebAssembly transport implementation for browser-based WebSockets.
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "websock-wasm"
version = "0.5.0"
authors = ["shellrow <shellrow@foctal.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebAssembly transport implementation for browser-based WebSockets."
readme = "README.md"
keywords = [
    "network",
    "websocket",
    "wasm",
]
categories = [
    "network-programming",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/foctal/websock"
resolver = "2"

[lib]
name = "websock_wasm"
path = "src/lib.rs"

[[test]]
name = "browser"
path = "tests/browser.rs"

[dependencies.futures-channel]
version = "0.3"

[dependencies.futures-core]
version = "0.3"

[dependencies.futures-sink]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.js-sys]
version = "0.3"

[dependencies.wasm-bindgen]
version = "=0.2.126"

[dependencies.wasm-bindgen-futures]
version = "=0.4.76"

[dependencies.web-sys]
version = "0.3"
features = [
    "WebSocket",
    "MessageEvent",
    "Event",
    "CloseEvent",
    "BinaryType",
]

[dependencies.websock-proto]
version = "0.5.0"

[dev-dependencies.gloo-timers]
version = "0.3"
features = ["futures"]

[dev-dependencies.wasm-bindgen-test]
version = "=0.3.76"