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
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
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