ostree/rust-bindings/rust
Felix Krull 233776a39d Add Gitlab badge 2022-05-06 12:53:53 -04:00
..
conf Ignore internal structs in libostree-sys 2022-05-06 12:53:53 -04:00
gir-files Add config file and gir files 2022-05-06 12:53:52 -04:00
libostree Add Gitlab badge 2022-05-06 12:53:53 -04:00
libostree-sys Update docs back to self-hosted 2022-05-06 12:53:53 -04:00
.gitignore Add workspace Cargo.toml 2022-05-06 12:53:53 -04:00
.gitlab-ci.yml Move readme to repo root and copy it to the code prior to packaging 2022-05-06 12:53:53 -04:00
Cargo.toml Add workspace Cargo.toml 2022-05-06 12:53:53 -04:00
LICENSE Keep only one license file in the repo root 2022-05-06 12:53:53 -04:00
Makefile Move readme to repo root and copy it to the code prior to packaging 2022-05-06 12:53:53 -04:00
README.md Move readme to repo root and copy it to the code prior to packaging 2022-05-06 12:53:53 -04:00

README.md

Rust bindings for libostree

libostree is both a shared library and suite of command line tools that combines a "git-like" model for committing and downloading bootable filesystem trees, along with a layer for deploying them and managing the bootloader configuration. The core OSTree model is like git in that it checksums individual files and has a content-addressed-object store. It's unlike git in that it "checks out" the files via hardlinks, and they thus need to be immutable to prevent corruption.

libostree site | libostree git repo

This project provides Rust bindings for libostree. They are automatically generated, but rather incomplete as of yet.

Setup

The libostree crate requires libostree and the libostree development headers. On Debian/Ubuntu, they can be installed with:

$ sudo apt-get install libostree-1 libostree-dev

To use the crate, add it to your Cargo.toml:

[dependencies]
libostree = "0.1"

To use features from later libostree versions, you need to specify the release version as well:

[dependencies.libostree]
version = "0.1"
features = ["v2018_7"]

License

The libostree crate is licensed under the MIT license. See the LICENSE file for details.

libostree itself is licensed under the LGPL2+. See its licensing information for more information.