| Crates.io | system-events |
| lib.rs | system-events |
| version | 0.2.0 |
| created_at | 2023-08-22 07:50:35.976865+00 |
| updated_at | 2025-12-03 13:29:00.089738+00 |
| description | system events monitor |
| homepage | https://github.com/imxood/system-events |
| repository | https://github.com/imxood/system-events |
| max_upload_size | |
| id | 950785 |
| size | 20,492 |
目前只支持 windows 下的 usb设备插拔 事件
欢迎提 issues 和 pr
cargo run --example windows_serial_plug
监控的是 window 的 WM_DEVICECHANGE 事件
https://learn.microsoft.com/zh-cn/windows/win32/devio/wm-devicechange