talira

Compare

GObject Introspectionbindgen
What it isMiddleware between GObject-based C libraries and language bindingsGenerates Rust FFI bindings to C and some C++ libraries from their headers
KindOpen sourceOpen source
Trust0.370.68
Stars—5328
Last commit—2026-11-23
LicenceLGPL-2.0-or-later AND GPL-2.0-or-later AND MITBSD-3-Clause
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyGNOME Foundation
non-profit
The Rust Project
Features
  • scanner that generates GIR from C sources and headers
  • GIR XML format and binary typelib compiler
  • libgirepository to read typelibs at runtime
  • automatic bindings for GObject libraries in other languages
  • Generates repr(C) structs, extern functions, enums and constants from C headers
  • Runs from build.rs as a build dependency, or from the command line with bindgen-cli
  • Allowlisting, blocklisting, opaque and replaced types
  • Control over derived traits such as Copy and Clone
  • Extra clang arguments through environment variables, per target for cross-compiling
Limitations
    • C++ support is partial: it handles C and only some C++
    • Needs libclang installed to parse headers