docs.rs failed to build ostring_base-1.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
ostring_base-2.1.0
OS System Tools
一个用 Rust 编写的系统工具集合,提供系统信息获取、串口管理和自动启动配置等功能。
功能特性
-
📊 系统信息监控
- 内存使用情况
- 系统名称和版本
- 主机名
- 网络接口信息
-
🔌 串口管理
- 列出可用串口
- 获取串口详细信息(ID、名称、制造商)
-
🚀 自动启动配置
- 支持 Windows/macOS/Linux
- 配置应用程序自启动
- 支持启用/禁用自启动
系统要求
- Rust 1.70 或更高版本
- 支持的操作系统:
- Windows 10/11
- macOS 10.15+
- Linux (主流发行版)
安装
-
克隆仓库:
-
构建项目:
使用示例
系统信息获取
use OsSysInfo;
let info = get_info;
println!;
串口列表
use serial_port_list;
let ports = serial_port_list;
println!;
自动启动配置
use OsAutoLaunch;
let osys = new;
osys.update_launch.await;
依赖项
serde: 序列化/反序列化支持sysinfo: 系统信息获取serialport: 串口通信auto-launch: 自动启动配置tokio: 异步运行时anyhow: 错误处理
开发
运行测试