Make pokedex example work on Wasm
This commit is contained in:
parent
ca213922d0
commit
9df3fb13c7
2 changed files with 37 additions and 11 deletions
|
|
@ -8,7 +8,12 @@ publish = false
|
|||
[dependencies]
|
||||
iced = { path = "../..", features = ["image", "debug"] }
|
||||
iced_futures = { path = "../../futures", features = ["tokio"] }
|
||||
reqwest = { version = "0.10", features = ["json"] }
|
||||
rand = "0.7"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
rand = { version = "0.7", features = ["wasm-bindgen"] }
|
||||
|
||||
[dependencies.reqwest]
|
||||
version = "0.10"
|
||||
git = "https://github.com/hecrj/reqwest.git"
|
||||
branch = "feature/wasm-deserialize-json"
|
||||
features = ["json"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue