From 38a886ffc6fa575216d310ff1ab92976721589a2 Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Tue, 9 Oct 2018 23:27:36 +0200 Subject: [PATCH] Ignore internal structs in libostree-sys --- rust-bindings/rust/conf/libostree-sys.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rust-bindings/rust/conf/libostree-sys.toml b/rust-bindings/rust/conf/libostree-sys.toml index 2cc61d7b..23d352ca 100644 --- a/rust-bindings/rust/conf/libostree-sys.toml +++ b/rust-bindings/rust/conf/libostree-sys.toml @@ -8,5 +8,17 @@ external_libraries = [ "GObject", "Gio", ] +ignore = [ + "OSTree.BootloaderInterface", + "OSTree.ChecksumInputStream", + "OSTree.ChecksumInputStreamClass", + "OSTree.CmdPrivateVTable", + "OSTree.LibarchiveInputStream", + "OSTree.LibarchiveInputStreamClass", + "OSTree.LzmaCompressorClass", + "OSTree.LzmaDecompressorClass", + "OSTree.RepoFileEnumeratorClass", + "OSTree.RollsumMatches", +] girs_dir = "../gir-files"