| 1 | [package]
|
| 2 | name = "posprint"
|
| 3 | version = "0.1.2"
|
| 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 |
|
| 27 | [dev-dependencies]
|
| 28 | tempfile = "3"
|
| 29 |
|
| 30 | [target.'cfg(windows)'.dependencies]
|
| 31 | winreg = "0.55"
|
| 32 |
|
| 33 | [build-dependencies]
|
| 34 | ico = "0.4"
|
| 35 | image = { version = "0.25", default-features = false, features = ["png"] }
|
| 36 | winres = "0.1"
|
| 37 |
|
| 38 | [profile.release]
|
| 39 | lto = true
|
| 40 | strip = true
|
| 41 |
|
| 42 | [package.metadata.deb]
|
| 43 | name = "posprint"
|
| 44 | maintainer = "posprint contributors"
|
| 45 | copyright = "2026, posprint contributors"
|
| 46 | license-file = ["LICENSE", "0"]
|
| 47 | section = "utils"
|
| 48 | priority = "optional"
|
| 49 | extended-description = """\
|
| 50 | Designer for POS receipt templates with live preview and USB ESC/POS printing."""
|
| 51 | assets = [
|
| 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 | ]
|
| 59 | depends = "$auto"
|