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