#tokio #udev #devices #events #mio

tokio-udev

Non-blocking/Asynchronous Tokio support for udev device events

12 releases (breaking)

0.10.0 Oct 8, 2025
0.9.1 May 31, 2023
0.8.0 Feb 14, 2022
0.7.0 May 23, 2021
0.1.1 Jun 6, 2018

#287 in Asynchronous

Download history 1177/week @ 2025-11-12 1613/week @ 2025-11-19 733/week @ 2025-11-26 1284/week @ 2025-12-03 1690/week @ 2025-12-10 1115/week @ 2025-12-17 503/week @ 2025-12-24 819/week @ 2025-12-31 1374/week @ 2026-01-07 1436/week @ 2026-01-14 1831/week @ 2026-01-21 2151/week @ 2026-01-28 2136/week @ 2026-02-04 1627/week @ 2026-02-11 1752/week @ 2026-02-18 1969/week @ 2026-02-25

7,910 downloads per month
Used in 2 crates

Apache-2.0 OR MIT

7KB
62 lines

tokio-udev

This library implements an stream of device events from udev asynchronously.

Usage

First put the dependency on your crate's Cargo.toml. For example:

[dependencies]
tokio-udev = "0.9"

tokio-udev

Non-blocking/asynchronous mio & tokio support for udev device events

Documentation

Minimum Supported Rust Version

The crates are guaranteed to compile on stable Rust 1.56. It might compile with older versions but that may change in any new patch release.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2–13MB
~79K SLoC