/gir

Tool to generate rust bindings and user API for glib-based libraries

Primary LanguageRustMIT LicenseMIT

GIR

GIR is a project that helps for generating safe Rust bindings for GObject based libraries. The generated bindings consists of two parts: FFI (the unsafe 1:1 C API calls from Rust) and the safe high-level safe Rust API.

How to use

A work in progress book to help with learning how to use gir along with a tutorial are available at https://gtk-rs.org/gir/book.

If you intend to contribute to gir or make use of libgir, the docs are available at https://gtk-rs.org/gir/docs/gir / https://gtk-rs.org/gir/docs/libgir.