SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

Re-export everything from the gltf library (#24321)

# Objective

Some traits like `GltfExtensionHandler` depends on items that weren't
re-exported from the `gltf` library, such as `gltf::Node`:


https://github.com/bevyengine/bevy/blob/fc292740893c7df0fa640a5e4000270ce57ac83f/crates/bevy_gltf/src/loader/extensions/mod.rs#L227-L232

This means that users won't be able to implement this trait method
without manually adding `gltf` to their dependencies (while also making
sure that the version matches up).

## Solution

We could just add `Node` to the re-export, but I think it's safer and
more future-proof to just re-export everything. Since they're namespaced
under `gltf`, there's no risk of collisions there.

## Testing

- Did you test these changes? If so, how?
  ```bash
  $ cargo test -p ci
  ```
- Are there any parts that need more testing?

  I don't think so!
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?

It's just an additional set of re-exports, so if it compiles it's
probably fine.
M
musjj committed
4632350e9cbf70c0db2544b219df23580da6e048
Parent: 8b67e34
Committed by GitHub <noreply@github.com> on 5/21/2026, 8:07:38 AM