summaryrefslogtreecommitdiffstats
path: root/examples/arc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/arc/Cargo.toml (renamed from examples/pure/arc/Cargo.toml)2
-rw-r--r--examples/arc/README.md (renamed from examples/pure/arc/README.md)0
-rw-r--r--examples/arc/src/main.rs (renamed from examples/pure/arc/src/main.rs)8
3 files changed, 6 insertions, 4 deletions
diff --git a/examples/pure/arc/Cargo.toml b/examples/arc/Cargo.toml
index 22113cf1..e6e74363 100644
--- a/examples/pure/arc/Cargo.toml
+++ b/examples/arc/Cargo.toml
@@ -6,4 +6,4 @@ edition = "2021"
publish = false
[dependencies]
-iced = { path = "../../..", features = ["pure", "canvas", "tokio", "debug"] }
+iced = { path = "../..", features = ["canvas", "tokio", "debug"] }
diff --git a/examples/pure/arc/README.md b/examples/arc/README.md
index 303253da..303253da 100644
--- a/examples/pure/arc/README.md
+++ b/examples/arc/README.md
diff --git a/examples/pure/arc/src/main.rs b/examples/arc/src/main.rs
index df0e1e8a..0c619dc9 100644
--- a/examples/pure/arc/src/main.rs
+++ b/examples/arc/src/main.rs
@@ -1,11 +1,13 @@
use std::{f32::consts::PI, time::Instant};
use iced::executor;
-use iced::pure::widget::canvas::{
+use iced::widget::canvas::{
self, Cache, Canvas, Cursor, Geometry, Path, Stroke,
};
-use iced::pure::{Application, Element};
-use iced::{Command, Length, Point, Rectangle, Settings, Subscription, Theme};
+use iced::{
+ Application, Command, Element, Length, Point, Rectangle, Settings,
+ Subscription, Theme,
+};
pub fn main() -> iced::Result {
Arc::run(Settings {