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