update readme
This commit is contained in:
parent
321f34ef0a
commit
8eb37f65da
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue