From c9a9e6c3811002f18de9baa72d32aff5463f19d4 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 22 Oct 2018 10:58:44 -0400 Subject: [PATCH] README: Add bindings section Since rust-libostree now exists too, let's make sure people know about it. Closes: #1762 Approved by: jlebon --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 36bcfc24f5..6ea343eeb5 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,22 @@ The [BuildStream](https://gitlab.com/BuildStream/buildstream) build and integration tool uses libostree as a caching system to store and share built artifacts. +Language bindings +---- + +libostree is accessible via [GObject Introspection](https://gi.readthedocs.io/en/latest/); +any language which has implemented the GI binding model should work. +For example, Both [pygobject](https://pygobject.readthedocs.io/en/latest/) +and [gjs](https://gitlab.gnome.org/GNOME/gjs) are known to work +and further are actually used in libostree's test suite today. + +Some bindings take the approach of using GI as a lower level and +write higher level manual bindings on top; this is more common +for statically compiled languages. Here's a list of such bindings: + + - [ostree-go](https://github.com/ostreedev/ostree-go/) + - [rust-libostree](https://gitlab.com/fkrull/rust-libostree/) + Building --------