修复 Rust 程序中文乱码问题 - 添加 UTF-8 编码设置

This commit is contained in:
xiaji
2026-03-30 14:20:28 +08:00
parent afba38497b
commit 7c8faa2ac7
3769 changed files with 16877 additions and 0 deletions

View 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"