Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.08 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.08 KB

Experimental bindings for libzypp glib

Goal of this crate is to provide direct rust bindings to libzypp to avoid long path over yast component system.

Caution

This library will build and install libzypp as a dependency. The scripts in this repo install into /usr/local but if you change the defaults you could end up with /usr and break your package management with zypper and YaST.

Code Organization

  • zypp-sys dir is low level unsafe libzypp bindings
  • libzypp dir git submodule for glib branch of libzypp
  • gir dir is gir submodule for gir tool on revision used for code generation
  • gir-files dir is git submodule with directory with curated gir files ( see gir book for details )
  • ./ is high level libzypp bindings

Updating bindings

In general follow gir book. Ideally update gir submodule to master. Then regenerate zypp-sys, then high level bindings and do not forget to also update documentation with rustdoc-stripper

Resources