diff --git a/ext/webgpu/src/01_webgpu.js b/ext/webgpu/01_webgpu.js similarity index 100% rename from ext/webgpu/src/01_webgpu.js rename to ext/webgpu/01_webgpu.js diff --git a/ext/webgpu/src/02_idl_types.js b/ext/webgpu/02_idl_types.js similarity index 100% rename from ext/webgpu/src/02_idl_types.js rename to ext/webgpu/02_idl_types.js diff --git a/ext/webgpu/src/03_surface.js b/ext/webgpu/03_surface.js similarity index 100% rename from ext/webgpu/src/03_surface.js rename to ext/webgpu/03_surface.js diff --git a/ext/webgpu/src/04_surface_idl_types.js b/ext/webgpu/04_surface_idl_types.js similarity index 100% rename from ext/webgpu/src/04_surface_idl_types.js rename to ext/webgpu/04_surface_idl_types.js diff --git a/ext/webgpu/Cargo.toml b/ext/webgpu/Cargo.toml index 5614253954..6058cbe3cf 100644 --- a/ext/webgpu/Cargo.toml +++ b/ext/webgpu/Cargo.toml @@ -10,6 +10,9 @@ readme = "README.md" repository = "https://github.com/gfx-rs/wgpu" description = "WebGPU implementation for Deno" +[lib] +path = "lib.rs" + [features] surface = ["wgpu-core/raw-window-handle", "dep:raw-window-handle"] diff --git a/ext/webgpu/src/binding.rs b/ext/webgpu/binding.rs similarity index 100% rename from ext/webgpu/src/binding.rs rename to ext/webgpu/binding.rs diff --git a/ext/webgpu/src/buffer.rs b/ext/webgpu/buffer.rs similarity index 100% rename from ext/webgpu/src/buffer.rs rename to ext/webgpu/buffer.rs diff --git a/ext/webgpu/src/bundle.rs b/ext/webgpu/bundle.rs similarity index 100% rename from ext/webgpu/src/bundle.rs rename to ext/webgpu/bundle.rs diff --git a/ext/webgpu/src/command_encoder.rs b/ext/webgpu/command_encoder.rs similarity index 100% rename from ext/webgpu/src/command_encoder.rs rename to ext/webgpu/command_encoder.rs diff --git a/ext/webgpu/src/compute_pass.rs b/ext/webgpu/compute_pass.rs similarity index 100% rename from ext/webgpu/src/compute_pass.rs rename to ext/webgpu/compute_pass.rs diff --git a/ext/webgpu/src/error.rs b/ext/webgpu/error.rs similarity index 100% rename from ext/webgpu/src/error.rs rename to ext/webgpu/error.rs diff --git a/ext/webgpu/src/lib.rs b/ext/webgpu/lib.rs similarity index 100% rename from ext/webgpu/src/lib.rs rename to ext/webgpu/lib.rs diff --git a/ext/webgpu/src/pipeline.rs b/ext/webgpu/pipeline.rs similarity index 100% rename from ext/webgpu/src/pipeline.rs rename to ext/webgpu/pipeline.rs diff --git a/ext/webgpu/src/queue.rs b/ext/webgpu/queue.rs similarity index 100% rename from ext/webgpu/src/queue.rs rename to ext/webgpu/queue.rs diff --git a/ext/webgpu/src/render_pass.rs b/ext/webgpu/render_pass.rs similarity index 100% rename from ext/webgpu/src/render_pass.rs rename to ext/webgpu/render_pass.rs diff --git a/ext/webgpu/src/sampler.rs b/ext/webgpu/sampler.rs similarity index 100% rename from ext/webgpu/src/sampler.rs rename to ext/webgpu/sampler.rs diff --git a/ext/webgpu/src/shader.rs b/ext/webgpu/shader.rs similarity index 100% rename from ext/webgpu/src/shader.rs rename to ext/webgpu/shader.rs diff --git a/ext/webgpu/src/surface.rs b/ext/webgpu/surface.rs similarity index 100% rename from ext/webgpu/src/surface.rs rename to ext/webgpu/surface.rs diff --git a/ext/webgpu/src/texture.rs b/ext/webgpu/texture.rs similarity index 100% rename from ext/webgpu/src/texture.rs rename to ext/webgpu/texture.rs