[workspace] members = [".", "proc-macro", "demo", "test"] [workspace.package] description = "Dispatching tasks to a WebWorker without `SharedArrayBuffers`." authors = ["Pascal Berrang "] license = "MIT OR Apache-2.0" homepage = "https://github.com/paberr/wasmworker" repository = "https://github.com/paberr/wasmworker" readme = "README.md" keywords = ["webworker", "parallelism", "wasm"] [workspace.dependencies] wasmworker = { version = "0.1", path = ".", features = ["serde"]} wasmworker-proc-macro = { version = "0.1", path = "proc-macro" } [package] name = "wasmworker" version = "0.1.1" edition = "2021" description.workspace = true authors.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true readme.workspace = true keywords.workspace = true [dependencies] futures = "0.3" js-sys = { version = "0.3" } postcard = { version = "1.0", features = ["alloc"] } send_wrapper = "0.6" serde = { version = "1.0", features = ["derive"] } serde_bytes = "0.11" serde-wasm-bindgen = "0.4" thiserror = "2.0" tokio = { version = "1.4", features = ["sync"] } wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" [dependencies.web-sys] features = [ "MessageEvent", "Window", "Location", "Worker", "WorkerOptions", "WorkerType", "Blob", "BlobPropertyBag", "Url", "Navigator", ] version = "0.3" [features] default = ["serde"] serde = []