-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (53 loc) · 1.39 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[workspace]
members = [".", "proc-macro", "demo", "test"]
[workspace.package]
description = "Dispatching tasks to a WebWorker without `SharedArrayBuffers`."
authors = ["Pascal Berrang <[email protected]>"]
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 = []