添加防止锁屏工具 - Python和Rust版本

This commit is contained in:
xiaji
2026-04-02 13:38:44 +08:00
parent bc3b0a976b
commit b5ea605e0d
901 changed files with 5559 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
[package]
name = "anti_lockscreen_rust"
version = "1.0.0"
edition = "2021"
authors = ["Your Name"]
description = "防止锁屏工具 - Rust版本"
[dependencies]
eframe = { version = "0.24", default-features = false, features = ["default_fonts", "glow"] }
egui = "0.24"
winapi = { version = "0.3", features = ["winuser", "processthreadsapi", "handleapi", "winbase"] }
chrono = "0.4"
rand = "0.8"
[profile.release]
opt-level = 3
lto = true
strip = true
[[bin]]
name = "防止锁屏工具"
path = "src/main.rs"