-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (71 loc) · 1.96 KB
/
Cargo.toml
File metadata and controls
78 lines (71 loc) · 1.96 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[package]
name = "wallwarp"
version = "1.3.0"
authors = ["zsyo <zephyr@aico.top>"]
repository = "https://github.com/zsyo/wallwarp"
edition = "2024"
license = "AGPL-3.0"
readme = "README.md"
exclude = ["target/*", "cache/*", "data/*", "db/*", "logs/*", "*.log", "*.db"]
[dependencies]
iced = { version = "0.14", features = [
"image", # 需要显示图片
"tokio", # 异步任务(sleep等)运行时支持
"canvas", # 自定义绘图
"advanced", # 启用高级功能
] }
iced_aw = { version = "=0.13.0", features = ["drop_down", "number_input"] }
tokio = { version = "1.52", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_with = "3.18"
serde_json = "1.0"
image = { version = "0.25", features = ["webp"] }
toml = "1.1"
open = "5.3"
rfd = "0.17"
xxhash-rust = { version = "0.8", features = ["xxh3"] }
fast_image_resize = { version = "6.0", features = ["image"] }
rayon = "1.12"
reqwest = { version = "0.13", default-features = false, features = [
"native-tls",
"http2",
"json",
"stream",
"brotli",
"gzip",
] }
urlencoding = "2.1"
async-stream = "0.3"
wallpaper = "3.2"
rand = "0.10"
chrono = "0.4"
scopeguard = "1.2"
rusqlite = { version = "0.39", features = ["bundled"] }
windows = { version = "0.62", features = [
"Win32_Graphics_Dwm",
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Controls",
] }
interprocess = { version = "2.4", features = ["tokio"] }
# i18n
fluent-bundle = "0.16"
unic-langid = "0.9"
sys-locale = "0.3"
# logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
dark-light = "2.0"
[target.'cfg(windows)'.dependencies]
winreg = "0.56"
tray-icon = "0.22"
[build-dependencies]
winresource = "0.1"
[package.metadata.packager]
before-packaging-command = "cargo build --release"
# 指定需要包含的资源文件
resources = ["locales"]
[[package.metadata.packager.binaries]]
path = "wallwarp.exe"
main = true