Enable wee_alloc by default for slightly smaller WASM bin

This commit is contained in:
NGnius (Graham) 2022-08-09 21:16:15 -04:00
parent 6fcc4c9884
commit 2918f6cd3b
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View file

@ -1047,7 +1047,7 @@ dependencies = [
[[package]] [[package]]
name = "usdpl-front" name = "usdpl-front"
version = "0.6.0" version = "0.6.1"
dependencies = [ dependencies = [
"console_error_panic_hook", "console_error_panic_hook",
"hex", "hex",

View file

@ -12,7 +12,7 @@ description = "Universal Steam Deck Plugin Library front-end designed for WASM"
crate-type = ["cdylib", "rlib"] crate-type = ["cdylib", "rlib"]
[features] [features]
default = [] default = ["wee_alloc"]
decky = ["usdpl-core/decky"] decky = ["usdpl-core/decky"]
crankshaft = ["usdpl-core/crankshaft"] crankshaft = ["usdpl-core/crankshaft"]
debug = ["console_error_panic_hook"] debug = ["console_error_panic_hook"]