update readme

This commit is contained in:
Julian Sparber 2019-02-28 10:00:46 +01:00 committed by Jordan Petridis
parent 321f34ef0a
commit 8eb37f65da
No known key found for this signature in database
GPG key ID: E8523968931763BE

View file

@ -1,5 +1,5 @@
# libhandy-rs
This repository contains the WIP rust bindings for libhandy.
This repository contains the rust bindings for libhandy.
## Using
Add this line to your Cargo file
@ -12,8 +12,5 @@ libhandy = { git = "https://gitlab.gnome.org/World/Rust/libhandy-rs" }
We use [gir](https://github.com/gtk-rs/gir) to generate rust libhandy bindings. The bindings are split in two parts, sys and api.
```shell
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
./regen.sh
```