BlueGit

timfa posprint

Files

posprint / Cargo.toml

Cargo.toml

Cargo.toml 2.1 KiB Download Raw
1[package]
2name = "posprint"
3version = "0.5.7"
4edition = "2021"
5rust-version = "1.88"
6description = "Designer for POS-print documents"
7license = "MIT"
8readme = "README.md"
9build = "build.rs"
10
11[dependencies]
12eframe = { version = "0.31", default-features = false, features = ["default_fonts", "glow", "x11", "wayland"] }
13serde = { version = "1", features = ["derive"] }
14serde_json = "1"
15serialport = "4"
16image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "bmp"] }
17rfd = "0.15"
18clap = { version = "4", features = ["derive"] }
19barcoders = { version = "2", default-features = false, features = ["image", "std"] }
20qrcode = "0.14"
21pulldown-cmark = "0.13"
22rusb = "0.9"
23chrono = { version = "0.4", default-features = false, features = ["clock", "std", "alloc"] }
24libc = "0.2"
25tempfile = "3"
26flate2 = "1"
27base64 = "0.22"
28ureq = { version = "2", default-features = false, features = ["native-tls"] }
29native-tls = "0.2"
30ab_glyph = "0.2"
31epaint_default_fonts = "0.31"
32
33[dev-dependencies]
34tempfile = "3"
35
36[target.'cfg(windows)'.dependencies]
37winreg = "0.55"
38
39[build-dependencies]
40ico = "0.4"
41image = { version = "0.25", default-features = false, features = ["png"] }
42winres = "0.1"
43
44[profile.release]
45lto = true
46strip = true
47
48[package.metadata.deb]
49name = "posprint"
50maintainer = "posprint contributors"
51copyright = "2026, posprint contributors"
52license-file = ["LICENSE", "0"]
53section = "utils"
54priority = "optional"
55extended-description = """\
56Designer for POS receipt templates with live preview and USB ESC/POS printing."""
57assets = [
58 ["target/release/posprint", "usr/bin/", "755"],
59 ["packaging/posprint.desktop", "usr/share/applications/", "644"],
60 ["packaging/posprint-url.desktop", "usr/share/applications/", "644"],
61 ["packaging/mime/posprint.xml", "usr/share/mime/packages/", "644"],
62 ["packaging/linux/posprint-print.desktop", "usr/share/kio/servicemenus/", "644"],
63 ["packaging/linux/posprint-print-thunar.xml", "usr/share/thunar/uca/", "644"],
64 ["pos-logo.png", "usr/share/pixmaps/posprint.png", "644"],
65]
66depends = "$auto"