BlueGit

timfa posprint

Files

posprint / Cargo.toml

Cargo.toml

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