Use reqwest and tokio in pokedex example
This commit is contained in:
parent
28fd9feb40
commit
8f52604987
4 changed files with 17 additions and 17 deletions
|
|
@ -19,12 +19,12 @@ log = "0.4"
|
|||
[dependencies.futures]
|
||||
version = "0.3"
|
||||
|
||||
[dependencies.tokio]
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
|
||||
version = "0.2"
|
||||
optional = true
|
||||
features = ["rt-core"]
|
||||
features = ["rt-core", "rt-threaded"]
|
||||
|
||||
[dependencies.async-std]
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-std]
|
||||
version = "1.0"
|
||||
optional = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue