#udev #glib #ffi

sys gudev-sys

Rust ffi interface for gudev, the glib support library for libudev

17 releases (breaking)

0.13.0 Mar 17, 2024
0.12.0 Aug 3, 2023
0.11.0 Feb 17, 2023
0.10.0 Oct 22, 2022
0.1.1 Nov 30, 2016

#10 in #udev


Used in 2 crates (via gudev)

MIT license

18KB
346 lines

Rust bindings for libgudev.

Essentially for the GUdev::Client class that allow listening to udev events in a Gtk application.

To generate the bindings, do:

python3 generator.py --embed-docs --gir-files-directories ./gir-files .

Then you can build them with:

cargo build

Contributors

Maintainer:

Contributors:

  • Bilal Elmoussaoui
  • Moritz Maxeiner
  • Rene Harder

Dependencies

~430–790KB
~17K SLoC