6 releases (breaking)

0.5.0 Dec 31, 2020
0.4.0 Dec 31, 2020
0.3.0 Jun 20, 2020
0.2.0 Dec 20, 2019
0.1.0 Apr 26, 2018

#16 in #udev

26 downloads per month

Apache-2.0/MIT

8KB
138 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:

mio-udev

This library implements abstractions around udev to make it usable with mio event loop.

Usage

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

[dependencies]
mio-udev = "0.1"

Then import it in your crate root as:

use mio_udev;

Dependencies

~0.5–1MB
~15K SLoC