change cargo settings

This commit is contained in:
Magnus Ulimoen 2019-09-03 20:25:44 +02:00
parent 78ea65ebae
commit 25f177b20e
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ authors = ["Magnus Ulimoen <flymagnus@gmail.com>"]
edition = "2018" edition = "2018"
[lib] [lib]
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib"]
[features] [features]
default = ["console_error_panic_hook", "wee_alloc"] default = ["console_error_panic_hook", "wee_alloc"]
@ -17,5 +17,5 @@ wee_alloc = { version = "*", optional = true }
ndarray = "0.12.1" ndarray = "0.12.1"
[profile.release] [profile.release]
opt-level = "s" opt-level = 3
lto = "full" lto = "thin"