temporary downstream for libhandy-rs
Go to file
Jordan Petridis fa90d1be71
Update Readme
2018-12-24 03:32:44 +02:00
handy Move the -sys crate inside this repository 2018-12-24 03:21:16 +02:00
handy-sys Move the -sys crate inside this repository 2018-12-24 03:21:16 +02:00
Cargo.toml Move the -sys crate inside this repository 2018-12-24 03:21:16 +02:00
Handy-0.0.gir Move the -sys crate inside this repository 2018-12-24 03:21:16 +02:00
LICENSE Add License 2018-09-12 21:03:54 +00:00
README.md Update Readme 2018-12-24 03:32:44 +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 https://github.com/gtk-rs/gir.git
cd gir
git clone https://github.com/gtk-rs/gir-files
cp ../Handy-0.0.gir gir-files
cargo run --release -- -c ../handy-sys/gir-libhandy.toml -d gir-files -m sys -o ../handy-sys
cargo run --release -- -c ../handy/Gir.toml -d gir-files -o ../handy