temporary downstream for libhandy-rs
Go to file
Christopher Davis d3ceeaa43f Add gitlab CI for Pages
Sets up CI to build documentation for master,
to be published on GitLab Pages.
2019-10-23 10:32:06 -07:00
gir@20feecf4fe submodules: Update submodules to latest commits 2019-06-23 13:54:43 -07:00
gir-files@617a344b41 submodules: Update submodules to latest commits 2019-06-23 13:54:43 -07:00
libhandy Update bindings for libhandy v0.0.10 2019-06-30 16:06:05 -07:00
libhandy-sys Update bindings for libhandy v0.0.10 2019-06-30 16:06:05 -07:00
.gitignore Add .gitignore 2019-01-20 15:46:30 +02:00
.gitlab-ci.yml Add gitlab CI for Pages 2019-10-23 10:32:06 -07:00
.gitmodules add gir and gir-files as submodules 2018-12-27 12:50:30 +01:00
Cargo.toml fix nameing 2018-12-27 17:28:23 +01:00
Handy-0.0.gir Update bindings for libhandy v0.0.10 2019-06-30 16:06:05 -07:00
LICENSE Add License 2018-09-12 21:03:54 +00:00
README.md docs: fix build instructions 2018-12-27 17:32:41 +01:00
regen.sh bump gir and gtk and regen 2019-02-23 05:00:37 +02:00

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