7 releases

new 0.0.7 Jan 9, 2025
0.0.6 Dec 19, 2024
0.0.5 Jul 18, 2024

#497 in Hardware support

Download history 13/week @ 2024-09-24 10/week @ 2024-10-01 2/week @ 2024-10-08 2/week @ 2024-10-15 2/week @ 2024-10-29 3/week @ 2024-11-05 2/week @ 2024-11-19 1/week @ 2024-12-03 18/week @ 2024-12-10 128/week @ 2024-12-17 7/week @ 2024-12-31 151/week @ 2025-01-07

289 downloads per month
Used in 2 crates (via colpetto)

Apache-2.0

20KB
523 lines

Devil

Devil is a robust and efficient asynchronous wrapper for the libudev library provided by systemd. Designed to integrate seamlessly with the Tokio ecosystem, Devil simplifies the process of monitoring device changes on Linux systems.

Purpose

The primary goal of Devil is to offer a straightforward and reliable solution for tracking device events and changes in the system. By leveraging asynchronous programming, Devil ensures that your applications remain responsive while handling device monitoring tasks.

Key Users

Devil is already mainly utilized in the following projects:

  • Colpetto: An asynchronous wrapper for libinput that internally relies on libudev through Devil for device event handling.

  • Diretto: A wrapper for the Linux DRM (Direct Rendering Manager) interface, where Devil is employed to monitor devices capable of DRM.

Future Plans

Looking ahead, Devil aims to expand its capabilities by providing wrappers for the new sd-device interface introduced by systemd. While development is in progress, there is no fixed ETA for these updates.

License

This project is licensed under the Apache-2.0 License. For more information, please see the LICENSE file.

No runtime deps