Rename image::Handle::from_bytes to from_memory
Also, replace `image` example with a new `pokedex` example using the PokéAPI.
This commit is contained in:
parent
1747eb2745
commit
4293dcb254
4 changed files with 236 additions and 203 deletions
|
|
@ -40,6 +40,7 @@ serde = { version = "1.0", features = ["derive"] }
|
|||
serde_json = "1.0"
|
||||
directories = "2.0"
|
||||
reqwest = "0.9"
|
||||
rand = "0.7"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||
wasm-bindgen = "0.2.51"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue