summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
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"