temporary downstream for libhandy-rs
Go to file
Jordan Petridis 924de04282
Regen against libhandy 0.0.6
Also remvoe unused crates, Close #1
2018-12-24 02:29:40 +02:00
src Regen against libhandy 0.0.6 2018-12-24 02:29:40 +02:00
Cargo.toml Regen against libhandy 0.0.6 2018-12-24 02:29:40 +02:00
Gir.toml Revert "Merge branch 'regenerate-gir-code' into 'master'" 2018-11-15 15:06:36 +00:00
LICENSE Add License 2018-09-12 21:03:54 +00:00
README.md Add readme 2018-06-07 00:46:49 +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/jsparber/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
git clone https://gitlab.gnome.org/jsparber/libhandy-sys-rs.git
cp libhandy-sys-rs/Gspell-1.0.gir gir-files
cp libhandy-sys-rs/gir-libhandy.toml ./
cargo run --release -- -c gir-libhandy.toml -d gir-files -m sys -o libhandy-sys
git clone https://gitlab.gnome.org/jsparber/libhandy-rs.git
cp libhandy-rs/Gir.toml ./
cargo run --release -- -c Gir.toml -d gir-files -o libhandy
cp libhandy-rs/src/lib.rs libhandy-rs/src/manual.rs libhandy-rs/src/rt.rs libhandy/src/
cp libhandy-rs/Cargo.toml libhandy