From d09d5d45ae4697eef277dfe30756b91c7d802a94 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 3 Dec 2024 22:03:06 +0100 Subject: Draft `iced_test` crate and test `todos` example --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index fc38a89d..92687812 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,6 +72,7 @@ unconditional-rendering = ["iced_winit/unconditional-rendering"] iced_core.workspace = true iced_futures.workspace = true iced_renderer.workspace = true +iced_test.workspace = true iced_widget.workspace = true iced_winit.features = ["program"] iced_winit.workspace = true @@ -111,6 +112,7 @@ members = [ "highlighter", "renderer", "runtime", + "test", "tiny_skia", "wgpu", "widget", @@ -137,6 +139,7 @@ iced_graphics = { version = "0.14.0-dev", path = "graphics" } iced_highlighter = { version = "0.14.0-dev", path = "highlighter" } iced_renderer = { version = "0.14.0-dev", path = "renderer" } iced_runtime = { version = "0.14.0-dev", path = "runtime" } +iced_test = { version = "0.14.0-dev", path = "test" } iced_tiny_skia = { version = "0.14.0-dev", path = "tiny_skia" } iced_wgpu = { version = "0.14.0-dev", path = "wgpu" } iced_widget = { version = "0.14.0-dev", path = "widget" } -- cgit From 1aeb317f2dbfb63215e6226073e67878ffa6503b Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 6 Dec 2024 04:06:41 +0100 Subject: Add image and hash snapshot-based testing to `iced_test` --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 92687812..0b9833d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -166,11 +166,13 @@ num-traits = "0.2" once_cell = "1.0" ouroboros = "0.18" palette = "0.7" +png = "0.17" pulldown-cmark = "0.11" qrcode = { version = "0.13", default-features = false } raw-window-handle = "0.6" resvg = "0.42" rustc-hash = "2.0" +sha2 = "0.10" smol = "1.0" smol_str = "0.2" softbuffer = "0.4" -- cgit From 1713ac49f2ae794f78f24c01d6c21625b2c2879c Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 10 Dec 2024 04:56:37 +0100 Subject: Decouple `iced_test` from `iced` crate --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0b9833d6..51528ce2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,6 @@ unconditional-rendering = ["iced_winit/unconditional-rendering"] iced_core.workspace = true iced_futures.workspace = true iced_renderer.workspace = true -iced_test.workspace = true iced_widget.workspace = true iced_winit.features = ["program"] iced_winit.workspace = true -- cgit From 6572909ab5b004176f6d261b67b4caa99f1f54bb Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 12 Dec 2024 03:14:40 +0100 Subject: Embed and use Fira Sans as default font when testing --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 51528ce2..60ec304c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ all-features = true maintenance = { status = "actively-developed" } [features] -default = ["wgpu", "tiny-skia", "fira-sans", "auto-detect-theme"] +default = ["wgpu", "tiny-skia", "auto-detect-theme"] # Enables the `wgpu` GPU-accelerated renderer backend wgpu = ["iced_renderer/wgpu", "iced_widget/wgpu"] # Enables the `tiny-skia` software renderer backend @@ -53,13 +53,13 @@ smol = ["iced_futures/smol"] system = ["iced_winit/system"] # Enables broken "sRGB linear" blending to reproduce color management of the Web web-colors = ["iced_renderer/web-colors"] -# Enables the WebGL backend, replacing WebGPU +# Enables the WebGL backend webgl = ["iced_renderer/webgl"] # Enables syntax highligthing highlighter = ["iced_highlighter", "iced_widget/highlighter"] # Enables the advanced module advanced = ["iced_core/advanced", "iced_widget/advanced"] -# Embeds Fira Sans as the default font on Wasm builds +# Embeds Fira Sans into the final application; useful for testing and Wasm builds fira-sans = ["iced_renderer/fira-sans"] # Auto-detects light/dark mode for the built-in theme auto-detect-theme = ["iced_core/auto-detect-theme"] -- cgit From b22a847668f3b59e1de77c2beee03134795f9380 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 17 Dec 2024 01:41:09 +0100 Subject: Bump MSRV to `1.81` --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 60ec304c..eb2251c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -128,7 +128,7 @@ repository = "https://github.com/iced-rs/iced" homepage = "https://iced.rs" categories = ["gui"] keywords = ["gui", "ui", "graphics", "interface", "widgets"] -rust-version = "1.80" +rust-version = "1.81" [workspace.dependencies] iced = { version = "0.14.0-dev", path = "." } -- cgit