# 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 = "2021" name = "wasmworker" version = "0.1.1" authors = ["Pascal Berrang "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Dispatching tasks to a WebWorker without `SharedArrayBuffers`." homepage = "https://github.com/paberr/wasmworker" readme = "README.md" keywords = [ "webworker", "parallelism", "wasm", ] license = "MIT OR Apache-2.0" repository = "https://github.com/paberr/wasmworker" [lib] name = "wasmworker" path = "src/lib.rs" [dependencies.futures] version = "0.3" [dependencies.js-sys] version = "0.3" [dependencies.postcard] version = "1.0" features = ["alloc"] [dependencies.send_wrapper] version = "0.6" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.4" [dependencies.serde_bytes] version = "0.11" [dependencies.thiserror] version = "2.0" [dependencies.tokio] version = "1.4" features = ["sync"] [dependencies.wasm-bindgen] version = "0.2" [dependencies.wasm-bindgen-futures] version = "0.4" [dependencies.web-sys] version = "0.3" features = [ "MessageEvent", "Window", "Location", "Worker", "WorkerOptions", "WorkerType", "Blob", "BlobPropertyBag", "Url", "Navigator", ] [features] default = ["serde"] serde = []