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:
Héctor Ramón Jiménez 2019-12-04 03:55:33 +01:00
parent 1747eb2745
commit 4293dcb254
4 changed files with 236 additions and 203 deletions

View file

@ -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"