summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-13 19:55:47 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-01-13 19:56:16 +0700
commit5f9cf991a7e2f5393e56b610db119bcedfd5eb42 (patch)
treed53595b55b07a51a0585831d841198e717b3e37d /examples
parentaaf2444e9fda16318e56adff9c7c8650a99e6a12 (diff)
downloadiced-5f9cf991a7e2f5393e56b610db119bcedfd5eb42.tar.gz
iced-5f9cf991a7e2f5393e56b610db119bcedfd5eb42.tar.bz2
iced-5f9cf991a7e2f5393e56b610db119bcedfd5eb42.zip
Update `reqwest` in examples
... and rely on `rustls` instead of `native-tls`
Diffstat (limited to 'examples')
-rw-r--r--examples/download_progress/Cargo.toml6
-rw-r--r--examples/pokedex/Cargo.toml3
2 files changed, 7 insertions, 2 deletions
diff --git a/examples/download_progress/Cargo.toml b/examples/download_progress/Cargo.toml
index d3c578b1..5f5eed68 100644
--- a/examples/download_progress/Cargo.toml
+++ b/examples/download_progress/Cargo.toml
@@ -9,4 +9,8 @@ publish = false
iced = { path = "../..", features = ["tokio"] }
iced_native = { path = "../../native" }
iced_futures = { path = "../../futures" }
-reqwest = "0.11"
+
+[dependencies.reqwest]
+version = "0.11"
+default-features = false
+features = ["rustls-tls"]
diff --git a/examples/pokedex/Cargo.toml b/examples/pokedex/Cargo.toml
index 751e2872..c64cc85c 100644
--- a/examples/pokedex/Cargo.toml
+++ b/examples/pokedex/Cargo.toml
@@ -15,7 +15,8 @@ features = ["derive"]
[dependencies.reqwest]
version = "0.11"
-features = ["json"]
+default-features = false
+features = ["json", "rustls-tls"]
[dependencies.rand]
version = "0.7"