13 releases

0.1.12 Nov 7, 2025
0.1.11 Aug 30, 2024
0.1.10 Feb 13, 2024
0.1.9 Mar 17, 2021
0.1.2 Apr 30, 2020

#66 in Graphics APIs

Download history 6538/week @ 2025-09-24 6133/week @ 2025-10-01 6323/week @ 2025-10-08 6723/week @ 2025-10-15 7689/week @ 2025-10-22 7201/week @ 2025-10-29 7619/week @ 2025-11-05 7679/week @ 2025-11-12 8050/week @ 2025-11-19 5236/week @ 2025-11-26 4941/week @ 2025-12-03 5235/week @ 2025-12-10 5301/week @ 2025-12-17 4545/week @ 2025-12-24 5238/week @ 2025-12-31 6351/week @ 2026-01-07

22,368 downloads per month
Used in 3 crates (via zng-webrender)

MIT license

4MB
83K SLoC

C++ 64K SLoC // 0.2% comments C 13K SLoC // 0.2% comments Happy 2K SLoC GLSL 1.5K SLoC // 0.2% comments LLVM 772 SLoC Rust 410 SLoC // 0.0% comments Python 381 SLoC // 0.5% comments Lex 360 SLoC // 0.3% comments Shell 7 SLoC

glslopt-rs

Rust bindings to glsl-optimizer.

Updating glsl-optimizer

To update the version of glsl-optimizer, update the git submodule:

git submodule update --remote glsl-optimizer

Then, if required, regenerate the bindings:

cargo install bindgen
bindgen wrapper.hpp -o src/bindings.rs

Then commit the changes.

No runtime deps