jamienicol / glslopt-rs

Rust bindings to https://github.com/jamienicol/glsl-optimizer
4 stars 8 forks source link

Generate bindings at crate publishing time #2

Closed jrmuizel closed 4 years ago

jrmuizel commented 4 years ago

This would let us drop the bindgen dependency which can be pain when compiling WebRender standalone.

jamienicol commented 4 years ago

Couldn't figure out a way to do it at publishing time. And doing so would mean you can't use it with glslopt = { git = "", rev = "" } which might make testing fixes a bit trickier? So I've just checked in the bindings, and we'll hopefully always remember to update it.