system-events

Crates.iosystem-events
lib.rssystem-events
version0.2.0
created_at2023-08-22 07:50:35.976865+00
updated_at2025-12-03 13:29:00.089738+00
descriptionsystem events monitor
homepagehttps://github.com/imxood/system-events
repositoryhttps://github.com/imxood/system-events
max_upload_size
id950785
size20,492
生命赞歌 (imxood)

documentation

README

系统事件监控

目前只支持 windows 下的 usb设备插拔 事件

欢迎提 issues 和 pr

USB插拔

cargo run --example windows_serial_plug

widnows系统

监控的是 window 的 WM_DEVICECHANGE 事件

https://learn.microsoft.com/zh-cn/windows/win32/devio/wm-devicechange

Commit count: 6

cargo fmt