diff options
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,7 +8,7 @@ edition = "2018" | |||
8 | crate-type = ["cdylib", "rlib"] | 8 | crate-type = ["cdylib", "rlib"] |
9 | 9 | ||
10 | [features] | 10 | [features] |
11 | default = ["console_error_panic_hook"] | 11 | default = ["console_error_panic_hook", "wee_alloc"] |
12 | 12 | ||
13 | [dependencies] | 13 | [dependencies] |
14 | wasm-bindgen = "0.2.63" | 14 | wasm-bindgen = "0.2.63" |
@@ -22,4 +22,5 @@ wasm-bindgen-test = "0.3.13" | |||
22 | 22 | ||
23 | [profile.release] | 23 | [profile.release] |
24 | # Tell `rustc` to optimize for small code size. | 24 | # Tell `rustc` to optimize for small code size. |
25 | opt-level = "s" | 25 | opt-level = "z" |
26 | lto = true | ||