From d11b0b1abdbe9c0720d14eb5a6941711a0348a0f Mon Sep 17 00:00:00 2001 From: Jacob Hughes Date: Mon, 25 Sep 2023 13:57:15 -0400 Subject: [PATCH] Re-export Naga (#4172) --- CHANGELOG.md | 1 + wgpu/src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08d20c09fa..9a50aee642 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -89,6 +89,7 @@ By @wumpf in [#4147](https://github.com/gfx-rs/wgpu/pull/4147) ### Added/New Features - Add `gles_minor_version` field to `wgpu::InstanceDescriptor`. By @PJB3005 in [#3998](https://github.com/gfx-rs/wgpu/pull/3998) +- Re-export Naga. By @exrook in [#4172](https://github.com/gfx-rs/wgpu/pull/4172) ### Changes diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index f655075c06..f62e14bcae 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -54,6 +54,8 @@ pub use wgt::{ ))] #[doc(hidden)] pub use ::hal; +#[cfg(feature = "naga")] +pub use ::naga; #[cfg(any( not(target_arch = "wasm32"), feature = "webgl",