Add wee_alloc
This commit is contained in:
parent
9cb73680f8
commit
da59156e07
3 changed files with 130 additions and 111 deletions
|
|
@ -21,8 +21,12 @@ wasm-bindgen = { version = "0.2.99", optional = true }
|
|||
# code size when deploying.
|
||||
console_error_panic_hook = { version = "0.1.7", optional = true }
|
||||
|
||||
wee_alloc = { version = "0.4.2", optional = true }
|
||||
cfg-if = "1.0.1"
|
||||
|
||||
|
||||
[features]
|
||||
default = []
|
||||
default = [ "wasm" ]
|
||||
serde = [ "dep:serde" ]
|
||||
wasm = [ "dep:wasm-bindgen"]
|
||||
console_error_panic_hook = [ "dep:console_error_panic_hook" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue