BlueGit

timfa posprint

Files

posprint / Cargo.toml

Cargo.toml

2dc6f51f History
Cargo.toml 1.8 KiB Download Raw
1[package]
2name = "posprint"
3version = "0.1.2"
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"
26
27[dev-dependencies]
28tempfile = "3"
29
30[target.'cfg(windows)'.dependencies]
31winreg = "0.55"
32
33[build-dependencies]
34ico = "0.4"
35image = { version = "0.25", default-features = false, features = ["png"] }
36winres = "0.1"
37
38[profile.release]
39lto = true
40strip = true
41
42[package.metadata.deb]
43name = "posprint"
44maintainer = "posprint contributors"
45copyright = "2026, posprint contributors"
46license-file = ["LICENSE", "0"]
47section = "utils"
48priority = "optional"
49extended-description = """\
50Designer for POS receipt templates with live preview and USB ESC/POS printing."""
51assets = [
52 ["target/release/posprint", "usr/bin/", "755"],
53 ["packaging/posprint.desktop", "usr/share/applications/", "644"],
54 ["packaging/mime/posprint.xml", "usr/share/mime/packages/", "644"],
55 ["packaging/linux/posprint-print.desktop", "usr/share/kio/servicemenus/", "644"],
56 ["packaging/linux/posprint-print-thunar.xml", "usr/share/thunar/uca/", "644"],
57 ["pos-logo.png", "usr/share/pixmaps/posprint.png", "644"],
58]
59depends = "$auto"