diff options
author | Akshay <[email protected]> | 2021-06-13 07:50:35 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-06-13 07:50:35 +0100 |
commit | 9128be2afc86b81486a429a37e5c0107eedab68f (patch) | |
tree | f8aa8d977e0ee8e780d98192c7d35b86cd859957 /Cargo.toml | |
parent | 86a9e34dfcc84203a0de741718f57948e411535b (diff) |
shave off a couple more kb
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 | ||