Add clients
parents
No related branches found
No related tags found
Showing
- .cargo/config 3 additions, 0 deletions.cargo/config
- .gitignore 2 additions, 0 deletions.gitignore
- Cargo.toml 26 additions, 0 deletionsCargo.toml
- examples/basic.rs 29 additions, 0 deletionsexamples/basic.rs
- examples/index.html 28 additions, 0 deletionsexamples/index.html
- src/lib.rs 207 additions, 0 deletionssrc/lib.rs
.cargo/config
0 → 100644
.gitignore
0 → 100644
Cargo.toml
0 → 100644
[package] | |||
name = "wasm-sockets" | |||
version = "0.1.0" | |||
authors = ["scratchyone <scratchywon@gmail.com>"] | |||
edition = "2018" | |||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |||
[dependencies] | |||
wasm-bindgen = "0.2" | |||
js-sys = "0.3" | |||
log = "0.4.11" | |||
console_log = "0.2.0" | |||
console_error_panic_hook = "0.1.6" | |||
[dependencies.web-sys] | |||
version = "0.3.22" | |||
features = [ | |||
"BinaryType", | |||
"Blob", | |||
"ErrorEvent", | |||
"FileReader", | |||
"MessageEvent", | |||
"ProgressEvent", | |||
"WebSocket", | |||
] |
examples/basic.rs
0 → 100644
examples/index.html
0 → 100644
src/lib.rs
0 → 100644
Please register or sign in to comment