From 2ad852ee08e21ee681950f1d6058499248baf88e Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期五, 18 七月 2025 15:04:22 +0800 Subject: [PATCH] 完成串口读取数据和处理 --- src-tauri/Cargo.toml | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 3d32d50..85f3dc1 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -18,10 +18,18 @@ tauri-build = { version = "2", features = [] } [dependencies] -tauri = { version = "2", features = [] } +tauri = { version = "2", features = [ "tray-icon", "devtools", "native-tls-vendored" ] } +chrono = "0.4" tauri-plugin-opener = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" -tokio = { version = "1.45.0", features = ["rt", "net", "time"] } +tokio = { version = "1.45.0", features = ["rt", "net", "time", "macros"] } rand = "0.8.5" +once_cell = "1.19" +tokio-tungstenite = "0.21" +futures-util = "0.3" +tungstenite = "0.21" +anyhow = "1.0" +serialport = "4.3.0" + -- Gitblit v1.9.3