forked from chnzzh/lenovo-logo-changer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (30 loc) · 769 Bytes
/
Cargo.toml
File metadata and controls
36 lines (30 loc) · 769 Bytes
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
35
36
[package]
name = "lenovo-logo-changer"
version = "0.2.0"
edition = "2024"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
env_logger = "0.11"
log = "0.4"
efivar = "2.0.0"
eframe = "0.33.0"
egui = "0.33.0"
hex = "0.4.3"
rfd = "0.15.4"
sha2 = "0.10.9"
crc32fast = "1.5.0"
poll-promise = "0.3"
# Windows特定依赖
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61.2"
features = ["Win32_Foundation", "Win32_Security", "Win32_System_Threading", "Win32_Storage_FileSystem"]
# Linux特定依赖
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
[build-dependencies]
winresource = "0.1"
[profile.release]
strip = true
lto = true
opt-level = "z"