d3ceeaa43f
Sets up CI to build documentation for master, to be published on GitLab Pages. |
||
---|---|---|
gir@20feecf4fe | ||
gir-files@617a344b41 | ||
libhandy | ||
libhandy-sys | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
Cargo.toml | ||
Handy-0.0.gir | ||
LICENSE | ||
README.md | ||
regen.sh |
libhandy-rs
This repository contains the WIP rust bindings for libhandy.
Using
Add this line to your Cargo file
[dependencies]
libhandy = { git = "https://gitlab.gnome.org/World/Rust/libhandy-rs" }
Build
We use gir to generate rust libhandy bindings. The bindings are split in two parts, sys and api.
git clone --recurse https://gitlab.gnome.org/World/Rust/libhandy-rs.git
cd libhandy-rs/gir
cp ../Handy-0.0.gir ../gir-files
cargo run --release -- -c ../libhandy-sys/gir-libhandy.toml -d ../gir-files -m sys -o ../libhandy-sys
cargo run --release -- -c ../libhandy/Gir.toml -d ../gir-files -o ../libhandy