修复 Rust 程序中文乱码问题 - 添加 UTF-8 编码设置
This commit is contained in:
25
push_screen_rust/Cargo.toml
Normal file
25
push_screen_rust/Cargo.toml
Normal file
@@ -0,0 +1,25 @@
|
||||
[package]
|
||||
name = "push_screen_rust"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
eframe = { version = "0.24", features = ["default"] }
|
||||
egui = "0.24"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
reqwest = { version = "0.11", features = ["json"] }
|
||||
anyhow = "1.0"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = "0.3"
|
||||
winapi = { version = "0.3", features = ["winuser", "windef", "wingdi", "libloaderapi", "shellapi", "combaseapi", "objbase", "shobjidl_core", "winerror", "winnls", "wincon", "winbase", "handleapi", "synchapi", "processthreadsapi", "impl-default", "commctrl", "dwmapi", "uxtheme"] }
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = true
|
||||
strip = true
|
||||
|
||||
[[bin]]
|
||||
name = "push_screen"
|
||||
path = "src/main.rs"
|
||||
Reference in New Issue
Block a user