From 20be787a62f511b24c6f9edecc7dc55a90aff7c1 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sun, 5 May 2024 01:14:06 +0200 Subject: [PATCH] create `hui-wgpu` --- Cargo.toml | 2 +- hui-wgpu/Cargo.toml | 22 ++++++++++++++++++++++ hui-wgpu/src/lib.rs | 1 + 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 hui-wgpu/Cargo.toml create mode 100644 hui-wgpu/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 5db48b7..3fa6631 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,3 @@ [workspace] resolver = "2" -members = ["hui", "hui-derive", "hui-examples", "hui-glium", "hui-winit"] +members = ["hui", "hui-derive", "hui-examples", "hui-glium", "hui-wgpu", "hui-winit"] diff --git a/hui-wgpu/Cargo.toml b/hui-wgpu/Cargo.toml new file mode 100644 index 0000000..de57d9b --- /dev/null +++ b/hui-wgpu/Cargo.toml @@ -0,0 +1,22 @@ +[package] +name = "hui-wgpu" +description = "wgpu render backend for `hui`" +repository = "https://github.com/griffi-gh/hui" +readme = "../README.md" +authors = ["griffi-gh "] +version = "0.1.0-alpha.5" +rust-version = "1.75" +edition = "2021" +license = "GPL-3.0-or-later" +publish = true +include = [ + "shaders/**/*", + "src/**/*.rs", + "Cargo.toml", +] + +[dependencies] +hui = { version = "=0.1.0-alpha.5", path = "../hui", default-features = false } +#wgpu = "0.20" +glam = "0.27" +log = "0.4" diff --git a/hui-wgpu/src/lib.rs b/hui-wgpu/src/lib.rs new file mode 100644 index 0000000..8ad1dfb --- /dev/null +++ b/hui-wgpu/src/lib.rs @@ -0,0 +1 @@ +//TODO