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 |
#1617 in Asynchronous
1,234 downloads per month
Used in boardswarm
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
- 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
:
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–10MB
~94K SLoC