#udev #glib #ffi

sys gudev-sys

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

19 releases (breaking)

0.14.0 Nov 24, 2024
0.13.0 Mar 17, 2024
0.12.0 Aug 3, 2023
0.11.0 Feb 17, 2023
0.1.1 Nov 30, 2016

#10 in #udev

Download history 31/week @ 2024-09-23 1/week @ 2024-09-30 1/week @ 2024-10-14 3/week @ 2024-11-04 126/week @ 2024-11-18 120/week @ 2024-11-25 1/week @ 2024-12-02 38/week @ 2024-12-09

285 downloads per month
Used in 2 crates (via gudev)

MIT license

18KB
352 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

~435–790KB
~17K SLoC