-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
51 lines (46 loc) · 1014 Bytes
/
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
[package]
name = "rust_wasm_pwa_minimal_clock"
version = "2022.314.1836"
authors = ["bestia.dev"]
homepage = "https://bestia.dev"
edition = "2018"
description = "tutorial for a minimal example of rust wasm PWA"
repository = "https://github.com/bestia-dev/rust_wasm_pwa_minimal_clock"
readme = "README.md"
license = "MIT"
keywords = ["wasm"]
categories = ["learning"]
publish = false
[lib]
# cdylib is for the wasm module library
crate-type = ["cdylib"]
[dependencies]
unwrap = "1.2.1"
wasm-bindgen = { version = "0.2.69", features = ["serde-serialize"] }
console_error_panic_hook = "0.1.6"
js-sys = "0.3.46"
[dependencies.web-sys]
version = "0.3.46"
features = [
"AbortController",
"console",
"Document",
"Element",
"ErrorEvent",
"Headers",
"HtmlAudioElement",
"HtmlElement",
"HtmlHtmlElement",
"KeyboardEvent",
"Location",
"MouseEvent",
"Navigator",
"Node",
"Response",
"Screen",
"Window",
]
[dev-dependencies]
wasm-bindgen-test = "0.3.19"
[profile.release]
panic = "abort"