Implement local storage for todos example in Wasm
This commit is contained in:
parent
679d758627
commit
36e617ae70
2 changed files with 30 additions and 3 deletions
|
|
@ -14,6 +14,10 @@ serde_json = "1.0"
|
|||
async-std = "1.0"
|
||||
directories = "2.0"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
web-sys = { version = "0.3", features = ["Window", "Storage"] }
|
||||
wasm-timer = "0.2"
|
||||
|
||||
[package.metadata.deb]
|
||||
assets = [
|
||||
["target/release/todos", "usr/bin/iced-todos", "755"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue