From 4c6d1dce4dc45e9fa80f49065da4a70a3bd520e7 Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Tue, 16 Oct 2018 17:13:46 +0200 Subject: [PATCH] Add some metadata to libostree-sys --- rust-bindings/rust/libostree-sys/Cargo.toml | 16 +++++++++++++--- rust-bindings/rust/libostree-sys/README.md | 4 ++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 rust-bindings/rust/libostree-sys/README.md diff --git a/rust-bindings/rust/libostree-sys/Cargo.toml b/rust-bindings/rust/libostree-sys/Cargo.toml index 80aa7c1c..dc94457f 100644 --- a/rust-bindings/rust/libostree-sys/Cargo.toml +++ b/rust-bindings/rust/libostree-sys/Cargo.toml @@ -1,10 +1,13 @@ +[badges.gitlab] +repository = "https://gitlab.com/fkrull/rust-libostree" + [build-dependencies] pkg-config = "0.3.7" [dependencies] -gio-sys = "^0.7" -glib-sys = "^0.7" -gobject-sys = "^0.7" +gio-sys = "0.7" +glib-sys = "0.7" +gobject-sys = "0.7" libc = "0.2" [dev-dependencies] @@ -36,7 +39,14 @@ v2018_7 = ["v2018_6"] name = "libostree_sys" [package] +authors = ["Felix Krull "] build = "build.rs" +categories = ["external-ffi-bindings"] +description = "FFI bindings to libostree-1" +keywords = ["ffi", "ostree", "libostree"] +license = "MIT" links = "ostree" name = "libostree-sys" +readme = "README.md" +repository = "https://gitlab.com/fkrull/rust-libostree" version = "0.1.0" diff --git a/rust-bindings/rust/libostree-sys/README.md b/rust-bindings/rust/libostree-sys/README.md new file mode 100644 index 00000000..2d4096e4 --- /dev/null +++ b/rust-bindings/rust/libostree-sys/README.md @@ -0,0 +1,4 @@ +# Autogenerated FFI bindings for libostree +This crate contains the unsafe low-level FFI bindings for libostree. You most likely want the +[libostree crate](https://crates.io/crates/libostree) instead. It provides a higher-level, safe interface on top of this +crate.