devil

Crates.iodevil
lib.rsdevil
version
sourcesrc
created_at2024-07-17 19:14:23.500431
updated_at2025-01-09 18:41:01.452978
descriptionAsync libudev wrapper
homepage
repositoryhttps://github.com/verdiwm/devil
max_upload_size
id1306465
Cargo.toml error:TOML parse error at line 24, column 1 | 24 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Federico Maria Morrone (morr0ne)

documentation

https://docs.rs/devil

README

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.

Commit count: 17

cargo fmt