#udev #tokio #events #devices #mio #non-blocking

tokio-udev

Non-blocking/Asynchronous Tokio support for udev device events

11 releases (breaking)

0.9.1 May 31, 2023
0.8.0 Feb 14, 2022
0.7.0 May 23, 2021
0.6.0 Dec 31, 2020
0.1.1 Jun 6, 2018

#427 in Asynchronous

Download history 169/week @ 2023-12-14 82/week @ 2023-12-21 62/week @ 2023-12-28 111/week @ 2024-01-04 105/week @ 2024-01-11 147/week @ 2024-01-18 127/week @ 2024-01-25 105/week @ 2024-02-01 298/week @ 2024-02-08 220/week @ 2024-02-15 484/week @ 2024-02-22 335/week @ 2024-02-29 319/week @ 2024-03-07 318/week @ 2024-03-14 728/week @ 2024-03-21 416/week @ 2024-03-28

1,800 downloads per month
Used in boardswarm

Apache-2.0 OR MIT

6KB
62 lines

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.


lib.rs:

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"

Dependencies

~2–12MB
~106K SLoC