feat: 初步增加 Windows 支持

This commit is contained in:
mofeng-git
2026-05-18 22:43:28 +08:00
parent 0b9d94f53f
commit 935fa823f2
163 changed files with 11419 additions and 7581 deletions

View File

@@ -1,16 +1,23 @@
//! Core library for One-KVM (IPKVM: capture, HID, OTG, streaming, Web UI glue).
#[cfg(not(any(unix, windows)))]
compile_error!("One-KVM supports Linux and Windows targets only.");
pub mod atx;
pub mod audio;
pub mod auth;
pub mod config;
pub mod db;
pub mod diagnostics;
pub mod error;
pub mod events;
pub mod extensions;
pub mod hid;
#[cfg(unix)]
pub mod msd;
#[cfg(unix)]
pub mod otg;
pub mod platform;
pub mod redfish;
pub mod rtsp;
pub mod rustdesk;