#mesh #gltf #glb #3d #3d-mesh

bin+lib gltfpack-sys

Rust bindings for gltfpack - optimize and compress glTF/GLB files

3 releases

0.1.2 Oct 8, 2025
0.1.1 Oct 7, 2025
0.1.0 Oct 7, 2025

#363 in Compression

Download history 435/week @ 2025-10-08 180/week @ 2025-10-15 177/week @ 2025-10-22 52/week @ 2025-10-29 88/week @ 2025-11-05 23/week @ 2025-11-12 8/week @ 2025-11-26 68/week @ 2025-12-03 74/week @ 2025-12-10 8/week @ 2025-12-17 3/week @ 2025-12-31 35/week @ 2026-01-07 38/week @ 2026-01-14 74/week @ 2026-01-21

150 downloads per month

MIT license

1MB
25K SLoC

C++ 21K SLoC // 0.1% comments JavaScript 3.5K SLoC // 0.0% comments Python 109 SLoC // 0.0% comments TypeScript 105 SLoC // 0.1% comments Rust 90 SLoC // 0.0% comments C 1 SLoC

Rust bindings for meshoptimizer/gltfpack

This crate bundles meshoptimizer v0.25 by Arseny Kapoulkine, licensed under MIT. See LICENSE for full license text.


gltfpack-sys

Compress glTF/GLB files (equivalent to gltfpack -cc).

Library

gltfpack_sys::compress("input.glb", "output.glb")?;

CLI

cargo install --path . --features cli
gltfpack-rs -i input.glb -o output.glb

Bundles meshoptimizer v0.25 by Arseny Kapoulkine. MIT licensed.

Dependencies