mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-28 08:31:52 +08:00
- 调整视频编码优先级为 H264 > H265 > VP8 > VP9,优先使用硬件编码 - 对接 RustDesk 客户端质量预设 (Low/Balanced/Best) 到 BitratePreset - 添加 secrets.toml 编译时读取机制,支持配置公共服务器 - 默认公共服务器: rustdesk.mofeng.run:21116 - 前端 ID 服务器输入框添加问号提示,显示公共服务器信息 - 用户留空时自动使用公共服务器
31 lines
640 B
Rust
31 lines
640 B
Rust
//! One-KVM - Lightweight IP-KVM solution
|
|
//!
|
|
//! This crate provides the core functionality for One-KVM,
|
|
//! a remote KVM (Keyboard, Video, Mouse) solution written in Rust.
|
|
|
|
pub mod atx;
|
|
pub mod audio;
|
|
pub mod auth;
|
|
pub mod config;
|
|
pub mod error;
|
|
pub mod events;
|
|
pub mod extensions;
|
|
pub mod hid;
|
|
pub mod modules;
|
|
pub mod msd;
|
|
pub mod otg;
|
|
pub mod rustdesk;
|
|
pub mod state;
|
|
pub mod stream;
|
|
pub mod utils;
|
|
pub mod video;
|
|
pub mod web;
|
|
pub mod webrtc;
|
|
|
|
/// Auto-generated secrets module (from secrets.toml at compile time)
|
|
pub mod secrets {
|
|
include!(concat!(env!("OUT_DIR"), "/secrets_generated.rs"));
|
|
}
|
|
|
|
pub use error::{AppError, Result};
|