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