Rust crate for listening to FreeBSD devd's device attach-detach notifications https://crates.io/crates/devd-rs
Find a file
2023-07-20 21:11:26 +00:00
examples use poll instead of kqueue 2017-08-18 20:41:37 +03:00
src Remove dependency on nom-supreme 2022-06-11 22:33:33 +03:00
.gitignore Initial commit 2017-08-10 18:20:45 +03:00
.rustfmt.toml Initial commit 2017-08-10 18:20:45 +03:00
Cargo.toml update metadata 2022-10-02 02:12:11 +03:00
CODE_OF_CONDUCT.md Initial commit 2017-08-10 18:20:45 +03:00
README.md badges 2023-07-20 21:11:26 +00:00
UNLICENSE Initial commit 2017-08-10 18:20:45 +03:00

crates.io API Docs unlicense Support me on Patreon

devd-rs

A Rust library for listening to FreeBSD (also DragonFlyBSD) devd's device attach-detach notifications.

Listens on /var/run/devd.seqpacket.pipe and parses messages using nom.

Usage

See examples/main.rs.

Contributing

Please feel free to submit pull requests!

By participating in this project you agree to follow the Contributor Code of Conduct and to release your contributions under the Unlicense and the MIT License.

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.

It is also available under the MIT License.