forked from paberr/wasmworker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (26 loc) · 722 Bytes
/
Copy pathCargo.toml
File metadata and controls
30 lines (26 loc) · 722 Bytes
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
[package]
name = "wasmworker-test"
version = "0.1.0"
edition = "2021"
publish = false
description.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
readme.workspace = true
keywords.workspace = true
[lib]
crate-type = ["cdylib"]
[dependencies]
futures = "0.3"
serde = { version = "1.0", features = ["derive"] }
wasm-bindgen = "0.2"
js-sys = "0.3"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = ["DedicatedWorkerGlobalScope", "MessageEvent", "MessagePort", "Window"] }
wasmworker = { workspace = true }
[features]
default = ["codec-postcard"]
codec-postcard = ["wasmworker/codec-postcard"]
codec-pot = ["wasmworker/codec-pot"]