#glfw #bindings #generated #wayland #display #rust-bindgen

glfw-bindgen

Bindings to GLFW generated with rust-bindgen

2 releases

0.1.1 Nov 10, 2022
0.1.0 Nov 10, 2022

#16 in #glfw


Used in bevy_glfw

Zlib license

1.5MB
32K SLoC

C 29K SLoC // 0.1% comments Objective-C 3K SLoC // 0.1% comments Rust 56 SLoC

glfw-bindgen

crates.io docs.rs

Bindings to GLFW generated with rust-bindgen.

While compiling this crate, it generates all the binding code and compiles GLFW from source.

Used GLFW version

Git revision dd8a678.

Features

wayland: Enables Wayland support. Please note that currently GLFW still prefers X11 if available, though you can bypass this by setting DISPLAY=.

Licensing

This project (and GLFW itself) is licensed under the zlib License.

No runtime deps

~0–2.1MB
~43K SLoC