-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
93 lines (85 loc) · 2.14 KB
/
Cargo.toml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[package]
name = "wallpapy"
version = "0.6.1"
edition = "2021"
rust-version = "1.83"
[dependencies]
log = "0.4.25"
anyhow = "1.0.95"
bincode = "1.3.3"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.137"
parking_lot = "0.12.3"
uuid = { version = "1.12.1", features = ["v4", "fast-rng", "js", "serde"] }
thumbhash = "0.1.0"
chrono = { version = "0.4.39", features = ["serde"] }
base64 = "0.22.1"
image = { version = "0.25.5", features = ["jpeg", "png"] }
bitflags = "2.8.0"
# GUI dependencies
egui = { version = "0.30.0", features = ["serde"], optional = true }
eframe = { version = "0.30.0", default-features = false, features = [
"default_fonts",
"glow",
"persistence",
"wayland",
], optional = true }
egui-notify = { version = "0.18.0", optional = true }
ehttp = { version = "0.5.0", optional = true }
egui_extras = { version = "0.30.0", features = [
"http",
"image",
], optional = true }
egui_pull_to_refresh = { version = "0.7.0", optional = true }
egui_thumbhash = { version = "0.6.0", optional = true }
egui-phosphor = { version = "0.8.0", optional = true }
# WebAssembly dependencies
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.77"
web-sys = "0.3.77"
wasm-bindgen = "0.2.100"
wasm-bindgen-futures = "0.4.50"
# Server dependencies
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
simple_logger = "5.0.0"
dotenvy = "0.15.7"
reqwest = { version = "0.12.12", default-features = false, features = [
"charset",
"rustls-tls",
"http2",
"json",
] }
tokio = { version = "1.43.0", features = ["full"] }
ron = "0.8.1"
axum = { version = "0.8.1", default-features = false, features = [
"http1",
"tokio",
] }
tower-http = { version = "0.6.2", features = [
"fs",
"compression-deflate",
"compression-gzip",
] }
rand = "0.8.5"
argon2 = "0.5.3"
mime_guess = "2.0.5"
webp = "0.3.0"
[features]
default = ["gui"]
gui = [
"egui",
"eframe",
"egui-notify",
"ehttp",
"egui_extras",
"egui_pull_to_refresh",
"egui_thumbhash",
"egui-phosphor",
]
[profile.release]
opt-level = 3
lto = true
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 2