aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: c90c1559286d2b4c91878b81c8e654354d6bd75a (plain)
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
[package]
name = "beepzone-egui"
version = "0.0.8"
edition = "2021"
authors = ["crt"]
description = "BeepZone Client eGUI Emo Edition"

[dependencies]
# Egui my beloved
egui = "0.33"
eframe = { version = "0.33", default-features = true, features = ["default_fonts", "persistence"] }
egui_extras = { version = "0.33", features = ["image"] }
egui-phosphor = "0.11"
egui_form = { version = "0.7", features = ["validator_garde"] }
garde = { version = "0.22", features = ["derive"] }
egui_commonmark = { version = "0.22", features = ["better_syntax_highlighting"] }

# mmmm notworking stuffs
reqwest = { version = "0.12", features = ["json", "blocking"] }
tokio = { version = "1.40", features = ["full"] }

# jayson derulo
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# basics
chrono = { version = "0.4", features = ["serde"] }
base64 = "0.21"
anyhow = "1.0"
regex = "1.10"
thiserror = "1.0"
dirs = "5.0"
log = "0.4"
env_logger = "0.11"
rand = "0.8"


# printin (no touchy this was hell)
# Reverted to printpdf 0.7.0 due to upstream 0.8.x svg2pdf/write-fonts compile issues (unresolved as of 2025-11-09).
# 0.7.0 provides stable core PDF features we use (images, text positioning) without the failing dependency chain.
printpdf = "0.7.0"
lopdf = "0.31"
qrcodegen = "1.8"
barcoders = "2.0"
image = "0.25" 
datamatrix = "0.3"

# svg hell
usvg = "0.43"
resvg = { version = "0.43", default-features = false, features = ["text"] }
tiny-skia = "0.11"

# not sure if all still needed check someday tm
rfd = "0.15"
open = "5.3"
poll-promise = "0.3"

# Printer itself
printers = "2.2.0"

# more basics

[profile.release]
opt-level = 3
lto = true
strip = true
codegen-units = 1

[profile.dev]
opt-level = 1