[package]
edition = "2021"
name = "web-rpc"
version = "0.0.4"
authors = ["Michael Allwright <contact@allwright.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bi-directional RPC for the Web"
homepage = "https://github.com/allsey87/web-rpc"
readme = "README.md"
keywords = [
"worker",
"channel",
"window",
"javascript",
"rpc",
]
categories = [
"web-programming",
"wasm",
]
license = "MIT"
repository = "https://github.com/allsey87/web-rpc"
[lib]
name = "web_rpc"
path = "src/lib.rs"
[[test]]
name = "abort"
path = "tests/abort.rs"
[[test]]
name = "bidirectional"
path = "tests/bidirectional.rs"
[[test]]
name = "borrowing"
path = "tests/borrowing.rs"
[[test]]
name = "inception"
path = "tests/inception.rs"
[[test]]
name = "multiple"
path = "tests/multiple.rs"
[[test]]
name = "post"
path = "tests/post.rs"
[[test]]
name = "streaming"
path = "tests/streaming.rs"
[[test]]
name = "unidirectional"
path = "tests/unidirectional.rs"
[dependencies.bincode]
version = "1.3.3"
[dependencies.futures-channel]
version = "0.3.30"
[dependencies.futures-core]
version = "0.3.30"
[dependencies.futures-util]
version = "0.3.30"
features = ["channel"]
[dependencies.gloo-events]
version = "0.2.0"
[dependencies.gloo-timers]
version = "0.3"
features = ["futures"]
[dependencies.js-sys]
version = "0.3.83"
[dependencies.pin-utils]
version = "0.1.0"
[dependencies.serde]
version = "1.0.193"
features = ["derive"]
[dependencies.wasm-bindgen]
version = "=0.2.106"
[dependencies.wasm-bindgen-futures]
version = "0.4.56"
[dependencies.web-rpc-macro]
version = "0.0.4"
[dependencies.web-sys]
version = "0.3.83"
features = [
"Worker",
"DedicatedWorkerGlobalScope",
"MessagePort",
"EventTarget",
"MessageEvent",
]
[dev-dependencies.console_error_panic_hook]
version = "0.1.7"
[dev-dependencies.wasm-bindgen-test]
version = "0.3.56"
[dev-dependencies.web-sys]
version = "0.3.83"
features = [
"MessagePort",
"MessageChannel",
"OffscreenCanvas",
]