@@ -13,20 +13,20 @@ crate-type = ["cdylib", "rlib"]
13
13
default = [" console_error_panic_hook" , " wee_alloc" ]
14
14
15
15
[dependencies ]
16
- wasm-bindgen = " = 0.2.68 "
16
+ wasm-bindgen = " 0.2.73 "
17
17
18
18
# The `console_error_panic_hook` crate provides better debugging of panics by
19
19
# logging them with `console.error`. This is great for development, but requires
20
20
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
21
21
# code size when deploying.
22
- console_error_panic_hook = { version = " 0.1.1 " , optional = true }
22
+ console_error_panic_hook = { version = " 0.1" , optional = true }
23
23
24
24
# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size
25
25
# compared to the default allocator's ~10K. It is slower than the default
26
26
# allocator, however.
27
27
#
28
28
# Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now.
29
- wee_alloc = { version = " 0.4.2 " , optional = true }
29
+ wee_alloc = { version = " 0.4" , optional = true }
30
30
31
31
deku = { path = " ../" }
32
32
hex = " 0.4"
@@ -37,7 +37,3 @@ wasm-bindgen-test = "0.3"
37
37
[profile .release ]
38
38
# Tell `rustc` to optimize for small code size.
39
39
opt-level = " s"
40
-
41
- # https://github.com/rustwasm/wasm-pack/issues/886#issuecomment-667669802
42
- [package .metadata .wasm-pack .profile .release ]
43
- wasm-opt = [" -Oz" , " --enable-mutable-globals" ]
0 commit comments