Replace example echo server because echo.websocket.org is no longer operated
Showing
- Cargo.toml 10 additions, 4 deletionsCargo.toml
- Readme.md 2 additions, 2 deletionsReadme.md
- examples/event.rs 1 addition, 1 deletionexamples/event.rs
- examples/polling.rs 1 addition, 1 deletionexamples/polling.rs
- src/lib.rs 4 additions, 4 deletionssrc/lib.rs
- src/tests.rs 1 addition, 1 deletionsrc/tests.rs
... | @@ -4,11 +4,19 @@ version = "0.2.1" | ... | @@ -4,11 +4,19 @@ version = "0.2.1" |
authors = ["scratchyone <scratchywon@gmail.com>"] | authors = ["scratchyone <scratchywon@gmail.com>"] | ||
edition = "2018" | edition = "2018" | ||
license = "MIT" | license = "MIT" | ||
categories = ["game-development", "network-programming", "wasm", "web-programming::websocket"] | categories = [ | ||
"game-development", | |||
"network-programming", | |||
"wasm", | |||
"web-programming::websocket", | |||
] | |||
description = "A WASM-only websocket library" | description = "A WASM-only websocket library" | ||
repository = "https://github.com/scratchyone/wasm-sockets" | repository = "https://github.com/scratchyone/wasm-sockets" | ||
readme = "Readme.md" | readme = "Readme.md" | ||
[lib] | |||
crate-type = ["cdylib", "rlib"] | |||
[package.metadata.docs.rs] | [package.metadata.docs.rs] | ||
targets = ["wasm32-unknown-unknown"] | targets = ["wasm32-unknown-unknown"] | ||
... | @@ -37,6 +45,4 @@ console_log = "0.2.0" | ... | @@ -37,6 +45,4 @@ console_log = "0.2.0" |
console_error_panic_hook = "0.1.6" | console_error_panic_hook = "0.1.6" | ||
wasm-bindgen-futures = "0.4.19" | wasm-bindgen-futures = "0.4.19" | ||
wasm-bindgen-test = "0.3" | wasm-bindgen-test = "0.3" | ||
web-sys = { version = "0.3.22", features = [ | web-sys = { version = "0.3.22", features = ["Window"] } | ||
"Window", | |||
] } |
Please register or sign in to comment