minigltf 0.1.0

a small gltf parser with minimal dependencies and fast compilation
Documentation
  • Coverage
  • 0%
    0 out of 1032 items documented0 out of 208 items with examples
  • Size
  • Source code size: 54.73 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 51.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 36s Average build duration of successful builds.
  • all releases: 36s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • EriKWDev

minigltf

A stupid-simple, best-effort compliant glTF parser with minimal amount of dependencies. minigltf currently only supports glTF 2.0, but is structured in a way that other versions could be implemented.

Has been tested on various glTFs from https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0, though not all of them.

If you find any models in the glTF-Sample-Models repo that cannot be parsed by minigltf, please file an issue or make a PR fixing it!

goals:

  • best-effort spec compliance
  • best-effort extension support
  • minimal amount of dependencies
  • fast compilation
  • fast parsing
  • simple API
    • no getters and setters just for the sake of it
    • O(1) operations should not look or act like O(n) operations (looking at you gltf and your .nth()!)

non-goals:

  • spec compliance
  • support of all extensions

License

This code is released under the MIT license. See the LICENSE file for more details.