summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--core/Cargo.toml2
-rw-r--r--examples/bezier_tool/Cargo.toml2
-rw-r--r--examples/clock/Cargo.toml2
-rw-r--r--examples/color_palette/Cargo.toml2
-rw-r--r--examples/component/Cargo.toml2
-rw-r--r--examples/counter/Cargo.toml2
-rw-r--r--examples/custom_widget/Cargo.toml2
-rw-r--r--examples/download_progress/Cargo.toml2
-rw-r--r--examples/events/Cargo.toml2
-rw-r--r--examples/game_of_life/Cargo.toml2
-rw-r--r--examples/geometry/Cargo.toml2
-rw-r--r--examples/integration_opengl/Cargo.toml2
-rw-r--r--examples/integration_wgpu/Cargo.toml2
-rw-r--r--examples/pane_grid/Cargo.toml2
-rw-r--r--examples/pick_list/Cargo.toml2
-rw-r--r--examples/pokedex/Cargo.toml2
-rw-r--r--examples/progress_bar/Cargo.toml2
-rw-r--r--examples/qr_code/Cargo.toml2
-rw-r--r--examples/scrollable/Cargo.toml2
-rw-r--r--examples/solar_system/Cargo.toml2
-rw-r--r--examples/stopwatch/Cargo.toml2
-rw-r--r--examples/styling/Cargo.toml2
-rw-r--r--examples/svg/Cargo.toml2
-rw-r--r--examples/todos/Cargo.toml2
-rw-r--r--examples/tooltip/Cargo.toml2
-rw-r--r--examples/tour/Cargo.toml2
-rw-r--r--examples/url_handler/Cargo.toml4
-rw-r--r--examples/websocket/Cargo.toml2
-rw-r--r--futures/Cargo.toml2
-rw-r--r--glow/Cargo.toml2
-rw-r--r--glutin/Cargo.toml2
-rw-r--r--graphics/Cargo.toml2
-rw-r--r--native/Cargo.toml2
-rw-r--r--rustfmt.toml2
-rw-r--r--style/Cargo.toml2
-rw-r--r--wgpu/Cargo.toml2
-rw-r--r--wgpu/src/image/raster.rs2
-rw-r--r--winit/Cargo.toml2
39 files changed, 39 insertions, 41 deletions
diff --git a/Cargo.toml b/Cargo.toml
index cdce2ae9..7c222fbb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced"
version = "0.3.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "A cross-platform GUI library inspired by Elm"
license = "MIT"
repository = "https://github.com/iced-rs/iced"
diff --git a/core/Cargo.toml b/core/Cargo.toml
index dde34326..92b8c56a 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced_core"
version = "0.4.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "The essential concepts of Iced"
license = "MIT"
repository = "https://github.com/iced-rs/iced"
diff --git a/examples/bezier_tool/Cargo.toml b/examples/bezier_tool/Cargo.toml
index a88975a7..890e3027 100644
--- a/examples/bezier_tool/Cargo.toml
+++ b/examples/bezier_tool/Cargo.toml
@@ -2,7 +2,7 @@
name = "bezier_tool"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/clock/Cargo.toml b/examples/clock/Cargo.toml
index 29457c0d..5e869eb5 100644
--- a/examples/clock/Cargo.toml
+++ b/examples/clock/Cargo.toml
@@ -2,7 +2,7 @@
name = "clock"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/color_palette/Cargo.toml b/examples/color_palette/Cargo.toml
index 00f33e20..23670b46 100644
--- a/examples/color_palette/Cargo.toml
+++ b/examples/color_palette/Cargo.toml
@@ -2,7 +2,7 @@
name = "color_palette"
version = "0.1.0"
authors = ["Clark Moody <clark@clarkmoody.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/component/Cargo.toml b/examples/component/Cargo.toml
index 5761db9f..dd435201 100644
--- a/examples/component/Cargo.toml
+++ b/examples/component/Cargo.toml
@@ -2,7 +2,7 @@
name = "component"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/counter/Cargo.toml b/examples/counter/Cargo.toml
index a763cd78..e31f440f 100644
--- a/examples/counter/Cargo.toml
+++ b/examples/counter/Cargo.toml
@@ -2,7 +2,7 @@
name = "counter"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/custom_widget/Cargo.toml b/examples/custom_widget/Cargo.toml
index 86b0d2a9..067aab4a 100644
--- a/examples/custom_widget/Cargo.toml
+++ b/examples/custom_widget/Cargo.toml
@@ -2,7 +2,7 @@
name = "custom_widget"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/download_progress/Cargo.toml b/examples/download_progress/Cargo.toml
index 5f5eed68..f38679ea 100644
--- a/examples/download_progress/Cargo.toml
+++ b/examples/download_progress/Cargo.toml
@@ -2,7 +2,7 @@
name = "download_progress"
version = "0.1.0"
authors = ["Songtronix <contact@songtronix.com>", "Folyd <lyshuhow@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/events/Cargo.toml b/examples/events/Cargo.toml
index f883075f..8ad04a36 100644
--- a/examples/events/Cargo.toml
+++ b/examples/events/Cargo.toml
@@ -2,7 +2,7 @@
name = "events"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/game_of_life/Cargo.toml b/examples/game_of_life/Cargo.toml
index 9ee307ac..f0a794fb 100644
--- a/examples/game_of_life/Cargo.toml
+++ b/examples/game_of_life/Cargo.toml
@@ -2,7 +2,7 @@
name = "game_of_life"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/geometry/Cargo.toml b/examples/geometry/Cargo.toml
index 34eec4fb..22ede0e0 100644
--- a/examples/geometry/Cargo.toml
+++ b/examples/geometry/Cargo.toml
@@ -2,7 +2,7 @@
name = "geometry"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/integration_opengl/Cargo.toml b/examples/integration_opengl/Cargo.toml
index 7fb1f2dd..6dac999c 100644
--- a/examples/integration_opengl/Cargo.toml
+++ b/examples/integration_opengl/Cargo.toml
@@ -2,7 +2,7 @@
name = "integration_opengl"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/integration_wgpu/Cargo.toml b/examples/integration_wgpu/Cargo.toml
index 0ded1a56..eaa1df7e 100644
--- a/examples/integration_wgpu/Cargo.toml
+++ b/examples/integration_wgpu/Cargo.toml
@@ -2,7 +2,7 @@
name = "integration_wgpu"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/pane_grid/Cargo.toml b/examples/pane_grid/Cargo.toml
index 03e6cd4a..dfd6dfa9 100644
--- a/examples/pane_grid/Cargo.toml
+++ b/examples/pane_grid/Cargo.toml
@@ -2,7 +2,7 @@
name = "pane_grid"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/pick_list/Cargo.toml b/examples/pick_list/Cargo.toml
index a87d7217..4aa4603a 100644
--- a/examples/pick_list/Cargo.toml
+++ b/examples/pick_list/Cargo.toml
@@ -2,7 +2,7 @@
name = "pick_list"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/pokedex/Cargo.toml b/examples/pokedex/Cargo.toml
index c64cc85c..e99fc0c3 100644
--- a/examples/pokedex/Cargo.toml
+++ b/examples/pokedex/Cargo.toml
@@ -2,7 +2,7 @@
name = "pokedex"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/progress_bar/Cargo.toml b/examples/progress_bar/Cargo.toml
index 4eccbf14..383a9bdd 100644
--- a/examples/progress_bar/Cargo.toml
+++ b/examples/progress_bar/Cargo.toml
@@ -2,7 +2,7 @@
name = "progress_bar"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/qr_code/Cargo.toml b/examples/qr_code/Cargo.toml
index 7f2d4e42..2f164df6 100644
--- a/examples/qr_code/Cargo.toml
+++ b/examples/qr_code/Cargo.toml
@@ -2,7 +2,7 @@
name = "qr_code"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/scrollable/Cargo.toml b/examples/scrollable/Cargo.toml
index 08502458..610c13b4 100644
--- a/examples/scrollable/Cargo.toml
+++ b/examples/scrollable/Cargo.toml
@@ -2,7 +2,7 @@
name = "scrollable"
version = "0.1.0"
authors = ["Clark Moody <clark@clarkmoody.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/solar_system/Cargo.toml b/examples/solar_system/Cargo.toml
index 327fe0aa..835396b0 100644
--- a/examples/solar_system/Cargo.toml
+++ b/examples/solar_system/Cargo.toml
@@ -2,7 +2,7 @@
name = "solar_system"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/stopwatch/Cargo.toml b/examples/stopwatch/Cargo.toml
index 9f935951..f623feb9 100644
--- a/examples/stopwatch/Cargo.toml
+++ b/examples/stopwatch/Cargo.toml
@@ -2,7 +2,7 @@
name = "stopwatch"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/styling/Cargo.toml b/examples/styling/Cargo.toml
index eb729f93..f771708c 100644
--- a/examples/styling/Cargo.toml
+++ b/examples/styling/Cargo.toml
@@ -2,7 +2,7 @@
name = "styling"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/svg/Cargo.toml b/examples/svg/Cargo.toml
index d8f83ac2..f5a6eaa2 100644
--- a/examples/svg/Cargo.toml
+++ b/examples/svg/Cargo.toml
@@ -2,7 +2,7 @@
name = "svg"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml
index c8926c33..5781ddef 100644
--- a/examples/todos/Cargo.toml
+++ b/examples/todos/Cargo.toml
@@ -2,7 +2,7 @@
name = "todos"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/tooltip/Cargo.toml b/examples/tooltip/Cargo.toml
index 1171de00..25840fb4 100644
--- a/examples/tooltip/Cargo.toml
+++ b/examples/tooltip/Cargo.toml
@@ -2,7 +2,7 @@
name = "tooltip"
version = "0.1.0"
authors = ["Yusuf Bera Ertan <y.bera003.06@protonmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/tour/Cargo.toml b/examples/tour/Cargo.toml
index bc7fac11..39e83671 100644
--- a/examples/tour/Cargo.toml
+++ b/examples/tour/Cargo.toml
@@ -2,7 +2,7 @@
name = "tour"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/examples/url_handler/Cargo.toml b/examples/url_handler/Cargo.toml
index 911b2f25..63c7ec27 100644
--- a/examples/url_handler/Cargo.toml
+++ b/examples/url_handler/Cargo.toml
@@ -2,9 +2,9 @@
name = "url_handler"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
iced = { path = "../.." }
-iced_native = { path = "../../native" } \ No newline at end of file
+iced_native = { path = "../../native" }
diff --git a/examples/websocket/Cargo.toml b/examples/websocket/Cargo.toml
index 6b4d9d10..db131dd7 100644
--- a/examples/websocket/Cargo.toml
+++ b/examples/websocket/Cargo.toml
@@ -2,7 +2,7 @@
name = "websocket"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
publish = false
[dependencies]
diff --git a/futures/Cargo.toml b/futures/Cargo.toml
index 93c7693d..78e673e0 100644
--- a/futures/Cargo.toml
+++ b/futures/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced_futures"
version = "0.3.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "Commands, subscriptions, and runtimes for Iced"
license = "MIT"
repository = "https://github.com/iced-rs/iced"
diff --git a/glow/Cargo.toml b/glow/Cargo.toml
index 1fab7c53..e0907a66 100644
--- a/glow/Cargo.toml
+++ b/glow/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced_glow"
version = "0.2.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "A glow renderer for iced"
license = "MIT AND OFL-1.1"
repository = "https://github.com/hecrj/iced"
diff --git a/glutin/Cargo.toml b/glutin/Cargo.toml
index 52efe66c..d1b0468d 100644
--- a/glutin/Cargo.toml
+++ b/glutin/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced_glutin"
version = "0.2.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "A glutin runtime for Iced"
license = "MIT"
repository = "https://github.com/iced-rs/iced"
diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml
index 12f38cce..8ccc7849 100644
--- a/graphics/Cargo.toml
+++ b/graphics/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced_graphics"
version = "0.2.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "A bunch of backend-agnostic types that can be leveraged to build a renderer for Iced"
license = "MIT"
repository = "https://github.com/hecrj/iced"
diff --git a/native/Cargo.toml b/native/Cargo.toml
index 8f0aea6a..c4b363ae 100644
--- a/native/Cargo.toml
+++ b/native/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced_native"
version = "0.4.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "A renderer-agnostic library for native GUIs"
license = "MIT"
repository = "https://github.com/iced-rs/iced"
diff --git a/rustfmt.toml b/rustfmt.toml
index fa50ab92..501828b4 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -1,2 +1,2 @@
max_width=80
-edition="2018"
+edition="2021"
diff --git a/style/Cargo.toml b/style/Cargo.toml
index 536368ac..047c905d 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced_style"
version = "0.3.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "The default set of styles of Iced"
license = "MIT"
repository = "https://github.com/iced-rs/iced"
diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml
index 46012ea7..b4173413 100644
--- a/wgpu/Cargo.toml
+++ b/wgpu/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced_wgpu"
version = "0.4.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "A wgpu renderer for Iced"
license = "MIT AND OFL-1.1"
repository = "https://github.com/iced-rs/iced"
diff --git a/wgpu/src/image/raster.rs b/wgpu/src/image/raster.rs
index e13987b4..ec5e911f 100644
--- a/wgpu/src/image/raster.rs
+++ b/wgpu/src/image/raster.rs
@@ -163,8 +163,6 @@ impl Operation {
where
R: std::io::BufRead + std::io::Seek,
{
- use std::convert::TryFrom;
-
let exif = exif::Reader::new().read_from_container(reader)?;
Ok(exif
diff --git a/winit/Cargo.toml b/winit/Cargo.toml
index 46f0cdb1..f7232248 100644
--- a/winit/Cargo.toml
+++ b/winit/Cargo.toml
@@ -2,7 +2,7 @@
name = "iced_winit"
version = "0.3.0"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
description = "A winit runtime for Iced"
license = "MIT"
repository = "https://github.com/hecrj/iced"