Update reqwest in examples
... and rely on `rustls` instead of `native-tls`
This commit is contained in:
parent
aaf2444e9f
commit
5f9cf991a7
2 changed files with 7 additions and 2 deletions
|
|
@ -9,4 +9,8 @@ publish = false
|
||||||
iced = { path = "../..", features = ["tokio"] }
|
iced = { path = "../..", features = ["tokio"] }
|
||||||
iced_native = { path = "../../native" }
|
iced_native = { path = "../../native" }
|
||||||
iced_futures = { path = "../../futures" }
|
iced_futures = { path = "../../futures" }
|
||||||
reqwest = "0.11"
|
|
||||||
|
[dependencies.reqwest]
|
||||||
|
version = "0.11"
|
||||||
|
default-features = false
|
||||||
|
features = ["rustls-tls"]
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@ features = ["derive"]
|
||||||
|
|
||||||
[dependencies.reqwest]
|
[dependencies.reqwest]
|
||||||
version = "0.11"
|
version = "0.11"
|
||||||
features = ["json"]
|
default-features = false
|
||||||
|
features = ["json", "rustls-tls"]
|
||||||
|
|
||||||
[dependencies.rand]
|
[dependencies.rand]
|
||||||
version = "0.7"
|
version = "0.7"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue