From 5fffb921b5666ef0faf5a5396a90b42df04a2d60 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 19 Feb 2024 17:24:31 +0100 Subject: [PATCH] create `hui-winit` --- Cargo.toml | 6 +++--- README.md | 14 ++++++++++++++ hui-glium/Cargo.toml | 2 +- hui-winit/Cargo.toml | 10 ++++++++++ hui-winit/src/lib.rs | 0 5 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 hui-winit/Cargo.toml create mode 100644 hui-winit/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 4c2a1f0..fc21b5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,3 @@ -[workspace] -resolver = "2" -members = ["hui", "hui-examples", "hui-glium"] +[workspace] +resolver = "2" +members = ["hui", "hui-examples", "hui-glium", "hui-winit"] diff --git a/README.md b/README.md index 88da868..7a5da85 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,20 @@ wgpu + + + 0.1.0-alpha.2 + + + hui-glium = "0.1.0-alpha.2"
+ glium = "0.34" + + + hui-winit = <master>
+ winit = "0.29" + + N/A + 0.1.0-alpha.2 diff --git a/hui-glium/Cargo.toml b/hui-glium/Cargo.toml index 9988750..9d94d71 100644 --- a/hui-glium/Cargo.toml +++ b/hui-glium/Cargo.toml @@ -15,6 +15,6 @@ include = [ [dependencies] hui = { version = "=0.1.0-alpha.2", path = "../hui", default-features = false } -glium = "0.34" +glium = { version = "0.34", default-features = false } glam = "0.25" log = "0.4" diff --git a/hui-winit/Cargo.toml b/hui-winit/Cargo.toml new file mode 100644 index 0000000..65537b0 --- /dev/null +++ b/hui-winit/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "hui-winit" +version = "0.1.0-alpha.2" +edition = "2021" + +[dependencies] +hui = { version = "=0.1.0-alpha.2", path = "../hui", default-features = false } +winit = { version = "0.29", default-features = false } +glam = "0.25" +log = "0.4" diff --git a/hui-winit/src/lib.rs b/hui-winit/src/lib.rs new file mode 100644 index 0000000..e69de29