Debian Codegraph @

book/src/config/introduction.md

raw
1 # Configuration
2
3 GIR uses two configurations files, one for generating the FFI part of the bindings and the other file for the Rust API.
4 The configuration files must be named `Gir.toml`
5
6 - The FFI configuration allows things such as ignoring objects, overriding the minimum required version for a specific type or renaming the generated crate name.
7
8 - The Rust API configuration is a bit more complex as it allows configuring Objects, Enums, Bitfields, Functions, Properties, Signals and a few other things.