Commit Graph

8 Commits

Author SHA1 Message Date
Colin Walters 9b57bda607 Use glib-sys via re-exported `glib::ffi` (and similar for gio)
In general only `-sys` crates should depend on other `-sys`
crates.  IOW for us, `ostree-sys` depends on `glib-sys`.

By using the re-export, we avoid needing to keep a version lock
between `glib` and `glib-sys` in our main crate.  And similar
is true of our higher level reverse dependencies (e.g. `ostree-rs-ext`).

Also weaken our dependency to `0.14` as that's clearer.
2022-05-06 12:53:57 -04:00
Colin Walters 8a5ac02822 Update to glib 0.14
An intimidating spam of compiler errors at the start, but the
biggest was handling the new convention of `ostree_sys::` => `ffi::`.

This will require a semver bump of course.
2022-05-06 12:53:56 -04:00
Felix Krull 7f3bd56d0d Implement ostree::checksum_file 2022-05-06 12:53:54 -04:00
Felix Krull 91dc916615 Document ObjectName 2022-05-06 12:53:54 -04:00
Felix Krull ab3e2c908e Switch ObjectName to GString 2022-05-06 12:53:53 -04:00
Felix Krull 61e205b5c3 Regenerate and update to new gir and glib-rs version 2022-05-06 12:53:53 -04:00
Felix Krull 04bd81be0f Sanity test for ObjectName 2022-05-06 12:53:53 -04:00
Felix Krull ced47cbb26 Move main crate into repo root 2022-05-06 12:53:53 -04:00