baoshiwei
5 天以前 2ad852ee08e21ee681950f1d6058499248baf88e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "six-axis-force"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
edition = "2021"
 
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
[lib]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "six_axis_force_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
 
[build-dependencies]
tauri-build = { version = "2", features = [] }
 
[dependencies]
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", "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"