change cargo settings
This commit is contained in:
parent
78ea65ebae
commit
25f177b20e
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue