rgrit - Rust bindings for grit
This crate provides a Rust interface to grit - the GBA Image Transmogrifier (“grit” for short). It is a bitmap conversion tool for GBA/NDS development.
The bindings are generated using bindgen.
The manual for grit can be found here.
Building
git clone https://github.com/not-jan/rgrit.git
cd rgrit
git submodule update --init
cargo build
Requirements
MacOS
I'm not sure if llvm is required, but it's probably a good idea to install it anyway.
Linux (Ubuntu / Debian)
Windows
Untested, but might work.
Usage
use StaticBitmap;
const BACKGROUND: StaticBitmap = grit! ;