From 05af8d00d4c0f7b8e0ece85224fd90a92da86da8 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 19 May 2020 17:15:44 +0200 Subject: Draft new `iced_graphics` crate :tada: --- graphics/Cargo.toml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 graphics/Cargo.toml (limited to 'graphics/Cargo.toml') diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml new file mode 100644 index 00000000..dcbf5ce4 --- /dev/null +++ b/graphics/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "iced_graphics" +version = "0.1.0" +authors = ["Héctor Ramón Jiménez "] +edition = "2018" + +[features] +canvas = ["lyon"] + +[dependencies] +bytemuck = "1.2" + +[dependencies.iced_native] +version = "0.2" +path = "../native" + +[dependencies.iced_style] +version = "0.1" +path = "../style" + +[dependencies.lyon] +version = "0.15" +optional = true -- cgit From 750a441a8c7c76b240db238283e9cbdab8d6932d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 19 May 2020 19:55:05 +0200 Subject: Move `Transformation` to `iced_graphics` --- graphics/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'graphics/Cargo.toml') diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml index dcbf5ce4..a81807d6 100644 --- a/graphics/Cargo.toml +++ b/graphics/Cargo.toml @@ -9,6 +9,7 @@ canvas = ["lyon"] [dependencies] bytemuck = "1.2" +glam = "0.8" [dependencies.iced_native] version = "0.2" -- cgit From e0c4f1a08e756f11c30a99cd739fe78267e5040b Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 19 May 2020 20:20:51 +0200 Subject: Move `font::Source` to `iced_graphics` --- graphics/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'graphics/Cargo.toml') diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml index a81807d6..c937763c 100644 --- a/graphics/Cargo.toml +++ b/graphics/Cargo.toml @@ -6,6 +6,7 @@ edition = "2018" [features] canvas = ["lyon"] +font-source = ["font-kit"] [dependencies] bytemuck = "1.2" @@ -22,3 +23,7 @@ path = "../style" [dependencies.lyon] version = "0.15" optional = true + +[dependencies.font-kit] +version = "0.6" +optional = true -- cgit From f0480854a9cd76f443848dbfa14256089b56abfe Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Tue, 19 May 2020 20:30:46 +0200 Subject: Move built-in fonts to `iced_graphics` --- graphics/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics/Cargo.toml') diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml index c937763c..61f1f6d4 100644 --- a/graphics/Cargo.toml +++ b/graphics/Cargo.toml @@ -7,6 +7,8 @@ edition = "2018" [features] canvas = ["lyon"] font-source = ["font-kit"] +font-fallback = [] +font-icons = [] [dependencies] bytemuck = "1.2" -- cgit From a1a5fcfd46622d5b18d1716aa2adb4659835ccf3 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 20 May 2020 20:28:35 +0200 Subject: Refactor `Viewport` and `Compositor` --- graphics/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'graphics/Cargo.toml') diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml index 61f1f6d4..12ad3f14 100644 --- a/graphics/Cargo.toml +++ b/graphics/Cargo.toml @@ -13,6 +13,7 @@ font-icons = [] [dependencies] bytemuck = "1.2" glam = "0.8" +raw-window-handle = "0.3" [dependencies.iced_native] version = "0.2" -- cgit From e0e4ee73feead3f05730625c7e1917b63f0b384e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 21 May 2020 00:37:47 +0200 Subject: Implement `iced_glutin` :tada: --- graphics/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'graphics/Cargo.toml') diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml index 12ad3f14..675bcb60 100644 --- a/graphics/Cargo.toml +++ b/graphics/Cargo.toml @@ -9,6 +9,7 @@ canvas = ["lyon"] font-source = ["font-kit"] font-fallback = [] font-icons = [] +opengl = [] [dependencies] bytemuck = "1.2" -- cgit From b9d42a45a8ce491e5fa21a86db0799bcd731d0dd Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 28 May 2020 01:46:17 +0200 Subject: Write documentation for `iced_glow` --- graphics/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'graphics/Cargo.toml') diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml index 675bcb60..8e078d75 100644 --- a/graphics/Cargo.toml +++ b/graphics/Cargo.toml @@ -31,3 +31,7 @@ optional = true [dependencies.font-kit] version = "0.6" optional = true + +[package.metadata.docs.rs] +rustdoc-args = ["--cfg", "docsrs"] +all-features = true -- cgit