#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

#20 in #glfw

Download history 7/week @ 2024-09-23 5/week @ 2024-09-30 1/week @ 2024-11-04 53/week @ 2024-12-02 82/week @ 2024-12-09

135 downloads per month
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.3MB
~46K SLoC