BlueGit

timfa posprint

Document CLI, barcodes, build scripts, and Linux package formats.

Add build-windows.ps1, build-linux.sh, and platform-specific CLI help.

Co-authored-by: Cursor <cursoragent@cursor.com>

timfa Tim Falken · pushed by timfa

Authored 2026-07-15 · 4 months ago

Hash
c6fac090f4d9162998b63c797b6548a48228904c
Parent
8e5ca252
9 files changed +1011 −78
Cargo.lock +676 −0
@@ -36,6 +36,24 @@ dependencies = [
36 36 "zerocopy",
37 37 ]
38 38
39 [[package]]
40 name = "aligned"
41 version = "0.4.3"
42 source = "registry+https://github.com/rust-lang/crates.io-index"
43 checksum = "ee4508988c62edf04abd8d92897fca0c2995d907ce1dfeaf369dac3716a40685"
44 dependencies = [
45 "as-slice",
46 ]
47
48 [[package]]
49 name = "aligned-vec"
50 version = "0.6.4"
51 source = "registry+https://github.com/rust-lang/crates.io-index"
52 checksum = "dc890384c8602f339876ded803c97ad529f3842aba97f6392b3dba0dd171769b"
53 dependencies = [
54 "equator",
55 ]
56
39 57 [[package]]
40 58 name = "android-activity"
41 59 version = "0.6.1"
@@ -61,6 +79,68 @@ version = "0.2.2"
61 79 source = "registry+https://github.com/rust-lang/crates.io-index"
62 80 checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04"
63 81
82 [[package]]
83 name = "anstream"
84 version = "1.0.0"
85 source = "registry+https://github.com/rust-lang/crates.io-index"
86 checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
87 dependencies = [
88 "anstyle",
89 "anstyle-parse",
90 "anstyle-query",
91 "anstyle-wincon",
92 "colorchoice",
93 "is_terminal_polyfill",
94 "utf8parse",
95 ]
96
97 [[package]]
98 name = "anstyle"
99 version = "1.0.14"
100 source = "registry+https://github.com/rust-lang/crates.io-index"
101 checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
102
103 [[package]]
104 name = "anstyle-parse"
105 version = "1.0.0"
106 source = "registry+https://github.com/rust-lang/crates.io-index"
107 checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
108 dependencies = [
109 "utf8parse",
110 ]
111
112 [[package]]
113 name = "anstyle-query"
114 version = "1.1.5"
115 source = "registry+https://github.com/rust-lang/crates.io-index"
116 checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
117 dependencies = [
118 "windows-sys 0.61.2",
119 ]
120
121 [[package]]
122 name = "anstyle-wincon"
123 version = "3.0.11"
124 source = "registry+https://github.com/rust-lang/crates.io-index"
125 checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
126 dependencies = [
127 "anstyle",
128 "once_cell_polyfill",
129 "windows-sys 0.61.2",
130 ]
131
132 [[package]]
133 name = "anyhow"
134 version = "1.0.103"
135 source = "registry+https://github.com/rust-lang/crates.io-index"
136 checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3"
137
138 [[package]]
139 name = "arbitrary"
140 version = "1.4.2"
141 source = "registry+https://github.com/rust-lang/crates.io-index"
142 checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1"
143
64 144 [[package]]
65 145 name = "arboard"
66 146 version = "3.6.1"
@@ -81,6 +161,32 @@ dependencies = [
81 161 "x11rb",
82 162 ]
83 163
164 [[package]]
165 name = "arg_enum_proc_macro"
166 version = "0.3.4"
167 source = "registry+https://github.com/rust-lang/crates.io-index"
168 checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea"
169 dependencies = [
170 "proc-macro2",
171 "quote",
172 "syn",
173 ]
174
175 [[package]]
176 name = "arrayvec"
177 version = "0.7.8"
178 source = "registry+https://github.com/rust-lang/crates.io-index"
179 checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56"
180
181 [[package]]
182 name = "as-slice"
183 version = "0.2.1"
184 source = "registry+https://github.com/rust-lang/crates.io-index"
185 checksum = "516b6b4f0e40d50dcda9365d53964ec74560ad4284da2e7fc97122cd83174516"
186 dependencies = [
187 "stable_deref_trait",
188 ]
189
84 190 [[package]]
85 191 name = "ashpd"
86 192 version = "0.11.1"
@@ -268,6 +374,64 @@ version = "1.5.1"
268 374 source = "registry+https://github.com/rust-lang/crates.io-index"
269 375 checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
270 376
377 [[package]]
378 name = "av-scenechange"
379 version = "0.14.1"
380 source = "registry+https://github.com/rust-lang/crates.io-index"
381 checksum = "0f321d77c20e19b92c39e7471cf986812cbb46659d2af674adc4331ef3f18394"
382 dependencies = [
383 "aligned",
384 "anyhow",
385 "arg_enum_proc_macro",
386 "arrayvec",
387 "log",
388 "num-rational",
389 "num-traits",
390 "pastey",
391 "rayon",
392 "thiserror 2.0.18",
393 "v_frame",
394 "y4m",
395 ]
396
397 [[package]]
398 name = "av1-grain"
399 version = "0.2.5"
400 source = "registry+https://github.com/rust-lang/crates.io-index"
401 checksum = "8cfddb07216410377231960af4fcab838eaa12e013417781b78bd95ee22077f8"
402 dependencies = [
403 "anyhow",
404 "arrayvec",
405 "log",
406 "nom",
407 "num-rational",
408 "v_frame",
409 ]
410
411 [[package]]
412 name = "avif-serialize"
413 version = "0.8.9"
414 source = "registry+https://github.com/rust-lang/crates.io-index"
415 checksum = "e7178fe5f7d460b13895ebb9dcb28a3a6216d2df2574a0806cb51b555d297f38"
416 dependencies = [
417 "arrayvec",
418 ]
419
420 [[package]]
421 name = "barcoders"
422 version = "2.0.0"
423 source = "registry+https://github.com/rust-lang/crates.io-index"
424 checksum = "a3826fb6e98ec72c0c0db8c9a40af4932d16793021027469857e84c1b50a1e8f"
425 dependencies = [
426 "image",
427 ]
428
429 [[package]]
430 name = "bit_field"
431 version = "0.10.3"
432 source = "registry+https://github.com/rust-lang/crates.io-index"
433 checksum = "1e4b40c7323adcfc0a41c4b88143ed58346ff65a288fc144329c5c45e05d70c6"
434
271 435 [[package]]
272 436 name = "bitflags"
273 437 version = "1.3.2"
@@ -280,6 +444,15 @@ version = "2.13.0"
280 444 source = "registry+https://github.com/rust-lang/crates.io-index"
281 445 checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
282 446
447 [[package]]
448 name = "bitstream-io"
449 version = "4.10.0"
450 source = "registry+https://github.com/rust-lang/crates.io-index"
451 checksum = "7eff00be299a18769011411c9def0d827e8f2d7bf0c3dbf53633147a8867fd1f"
452 dependencies = [
453 "no_std_io2",
454 ]
455
283 456 [[package]]
284 457 name = "block2"
285 458 version = "0.5.1"
@@ -311,6 +484,12 @@ dependencies = [
311 484 "piper",
312 485 ]
313 486
487 [[package]]
488 name = "built"
489 version = "0.8.1"
490 source = "registry+https://github.com/rust-lang/crates.io-index"
491 checksum = "5c0e531d93d39c34eef561e929e8a7f86d77a5af08aac4f6d6e39976c51858e9"
492
314 493 [[package]]
315 494 name = "bumpalo"
316 495 version = "3.20.3"
@@ -421,6 +600,46 @@ dependencies = [
421 600 "libc",
422 601 ]
423 602
603 [[package]]
604 name = "clap"
605 version = "4.6.1"
606 source = "registry+https://github.com/rust-lang/crates.io-index"
607 checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51"
608 dependencies = [
609 "clap_builder",
610 "clap_derive",
611 ]
612
613 [[package]]
614 name = "clap_builder"
615 version = "4.6.0"
616 source = "registry+https://github.com/rust-lang/crates.io-index"
617 checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f"
618 dependencies = [
619 "anstream",
620 "anstyle",
621 "clap_lex",
622 "strsim",
623 ]
624
625 [[package]]
626 name = "clap_derive"
627 version = "4.6.1"
628 source = "registry+https://github.com/rust-lang/crates.io-index"
629 checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9"
630 dependencies = [
631 "heck",
632 "proc-macro2",
633 "quote",
634 "syn",
635 ]
636
637 [[package]]
638 name = "clap_lex"
639 version = "1.1.0"
640 source = "registry+https://github.com/rust-lang/crates.io-index"
641 checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
642
424 643 [[package]]
425 644 name = "clipboard-win"
426 645 version = "5.4.1"
@@ -436,6 +655,12 @@ version = "1.1.0"
436 655 source = "registry+https://github.com/rust-lang/crates.io-index"
437 656 checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
438 657
658 [[package]]
659 name = "colorchoice"
660 version = "1.0.5"
661 source = "registry+https://github.com/rust-lang/crates.io-index"
662 checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
663
439 664 [[package]]
440 665 name = "combine"
441 666 version = "4.6.7"
@@ -514,6 +739,25 @@ dependencies = [
514 739 "cfg-if",
515 740 ]
516 741
742 [[package]]
743 name = "crossbeam-deque"
744 version = "0.8.7"
745 source = "registry+https://github.com/rust-lang/crates.io-index"
746 checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb"
747 dependencies = [
748 "crossbeam-epoch",
749 "crossbeam-utils",
750 ]
751
752 [[package]]
753 name = "crossbeam-epoch"
754 version = "0.9.20"
755 source = "registry+https://github.com/rust-lang/crates.io-index"
756 checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f"
757 dependencies = [
758 "crossbeam-utils",
759 ]
760
517 761 [[package]]
518 762 name = "crossbeam-utils"
519 763 version = "0.8.22"
@@ -687,6 +931,12 @@ dependencies = [
687 931 "web-sys",
688 932 ]
689 933
934 [[package]]
935 name = "either"
936 version = "1.16.0"
937 source = "registry+https://github.com/rust-lang/crates.io-index"
938 checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
939
690 940 [[package]]
691 941 name = "emath"
692 942 version = "0.31.1"
@@ -747,6 +997,26 @@ version = "0.31.1"
747 997 source = "registry+https://github.com/rust-lang/crates.io-index"
748 998 checksum = "fc7e7a64c02cf7a5b51e745a9e45f60660a286f151c238b9d397b3e923f5082f"
749 999
1000 [[package]]
1001 name = "equator"
1002 version = "0.4.2"
1003 source = "registry+https://github.com/rust-lang/crates.io-index"
1004 checksum = "4711b213838dfee0117e3be6ac926007d7f433d7bbe33595975d4190cb07e6fc"
1005 dependencies = [
1006 "equator-macro",
1007 ]
1008
1009 [[package]]
1010 name = "equator-macro"
1011 version = "0.4.2"
1012 source = "registry+https://github.com/rust-lang/crates.io-index"
1013 checksum = "44f23cf4b44bfce11a86ace86f8a73ffdec849c9fd00a386a53d278bd9e81fb3"
1014 dependencies = [
1015 "proc-macro2",
1016 "quote",
1017 "syn",
1018 ]
1019
750 1020 [[package]]
751 1021 name = "equivalent"
752 1022 version = "1.0.2"
@@ -790,6 +1060,23 @@ dependencies = [
790 1060 "pin-project-lite",
791 1061 ]
792 1062
1063 [[package]]
1064 name = "exr"
1065 version = "1.74.2"
1066 source = "registry+https://github.com/rust-lang/crates.io-index"
1067 checksum = "711fe42c9964295e01ee3fba3f9fe0e1d24b98886950d68efe81b1c76e21adf3"
1068 dependencies = [
1069 "bit_field",
1070 "half",
1071 "lebe",
1072 "miniz_oxide",
1073 "num-complex",
1074 "pulp",
1075 "rayon-core",
1076 "smallvec",
1077 "zune-inflate",
1078 ]
1079
793 1080 [[package]]
794 1081 name = "fastrand"
795 1082 version = "2.4.1"
@@ -1065,6 +1352,12 @@ version = "0.17.1"
1065 1352 source = "registry+https://github.com/rust-lang/crates.io-index"
1066 1353 checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
1067 1354
1355 [[package]]
1356 name = "heck"
1357 version = "0.5.0"
1358 source = "registry+https://github.com/rust-lang/crates.io-index"
1359 checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
1360
1068 1361 [[package]]
1069 1362 name = "hermit-abi"
1070 1363 version = "0.5.2"
@@ -1189,15 +1482,37 @@ dependencies = [
1189 1482 "bytemuck",
1190 1483 "byteorder-lite",
1191 1484 "color_quant",
1485 "exr",
1192 1486 "gif",
1487 "image-webp",
1193 1488 "moxcms",
1194 1489 "num-traits",
1195 1490 "png",
1491 "qoi",
1492 "ravif",
1493 "rayon",
1494 "rgb",
1196 1495 "tiff",
1197 1496 "zune-core",
1198 1497 "zune-jpeg",
1199 1498 ]
1200 1499
1500 [[package]]
1501 name = "image-webp"
1502 version = "0.2.4"
1503 source = "registry+https://github.com/rust-lang/crates.io-index"
1504 checksum = "525e9ff3e1a4be2fbea1fdf0e98686a6d98b4d8f937e1bf7402245af1909e8c3"
1505 dependencies = [
1506 "byteorder-lite",
1507 "quick-error",
1508 ]
1509
1510 [[package]]
1511 name = "imgref"
1512 version = "1.12.2"
1513 source = "registry+https://github.com/rust-lang/crates.io-index"
1514 checksum = "89194689a993ab15268672e99e7b0e19da2da3268ac682e8f02d29d4d1434cd7"
1515
1201 1516 [[package]]
1202 1517 name = "indexmap"
1203 1518 version = "2.14.0"
@@ -1208,6 +1523,17 @@ dependencies = [
1208 1523 "hashbrown",
1209 1524 ]
1210 1525
1526 [[package]]
1527 name = "interpolate_name"
1528 version = "0.2.4"
1529 source = "registry+https://github.com/rust-lang/crates.io-index"
1530 checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60"
1531 dependencies = [
1532 "proc-macro2",
1533 "quote",
1534 "syn",
1535 ]
1536
1211 1537 [[package]]
1212 1538 name = "io-kit-sys"
1213 1539 version = "0.4.1"
@@ -1218,6 +1544,21 @@ dependencies = [
1218 1544 "mach2",
1219 1545 ]
1220 1546
1547 [[package]]
1548 name = "is_terminal_polyfill"
1549 version = "1.70.2"
1550 source = "registry+https://github.com/rust-lang/crates.io-index"
1551 checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
1552
1553 [[package]]
1554 name = "itertools"
1555 version = "0.14.0"
1556 source = "registry+https://github.com/rust-lang/crates.io-index"
1557 checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
1558 dependencies = [
1559 "either",
1560 ]
1561
1221 1562 [[package]]
1222 1563 name = "itoa"
1223 1564 version = "1.0.18"
@@ -1309,12 +1650,28 @@ version = "3.1.0"
1309 1650 source = "registry+https://github.com/rust-lang/crates.io-index"
1310 1651 checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
1311 1652
1653 [[package]]
1654 name = "lebe"
1655 version = "0.5.3"
1656 source = "registry+https://github.com/rust-lang/crates.io-index"
1657 checksum = "7a79a3332a6609480d7d0c9eab957bca6b455b91bb84e66d19f5ff66294b85b8"
1658
1312 1659 [[package]]
1313 1660 name = "libc"
1314 1661 version = "0.2.186"
1315 1662 source = "registry+https://github.com/rust-lang/crates.io-index"
1316 1663 checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
1317 1664
1665 [[package]]
1666 name = "libfuzzer-sys"
1667 version = "0.4.13"
1668 source = "registry+https://github.com/rust-lang/crates.io-index"
1669 checksum = "a9fd2f41a1cba099f79a0b6b6c35656cf7c03351a7bae8ff0f28f25270f929d2"
1670 dependencies = [
1671 "arbitrary",
1672 "cc",
1673 ]
1674
1318 1675 [[package]]
1319 1676 name = "libloading"
1320 1677 version = "0.8.9"
@@ -1325,6 +1682,12 @@ dependencies = [
1325 1682 "windows-link",
1326 1683 ]
1327 1684
1685 [[package]]
1686 name = "libm"
1687 version = "0.2.16"
1688 source = "registry+https://github.com/rust-lang/crates.io-index"
1689 checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
1690
1328 1691 [[package]]
1329 1692 name = "libredox"
1330 1693 version = "0.1.18"
@@ -1396,6 +1759,15 @@ version = "0.4.33"
1396 1759 source = "registry+https://github.com/rust-lang/crates.io-index"
1397 1760 checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
1398 1761
1762 [[package]]
1763 name = "loop9"
1764 version = "0.1.5"
1765 source = "registry+https://github.com/rust-lang/crates.io-index"
1766 checksum = "0fae87c125b03c1d2c0150c90365d7d6bcc53fb73a9acaef207d2d065860f062"
1767 dependencies = [
1768 "imgref",
1769 ]
1770
1399 1771 [[package]]
1400 1772 name = "mach2"
1401 1773 version = "0.4.3"
@@ -1405,6 +1777,16 @@ dependencies = [
1405 1777 "libc",
1406 1778 ]
1407 1779
1780 [[package]]
1781 name = "maybe-rayon"
1782 version = "0.1.1"
1783 source = "registry+https://github.com/rust-lang/crates.io-index"
1784 checksum = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519"
1785 dependencies = [
1786 "cfg-if",
1787 "rayon",
1788 ]
1789
1408 1790 [[package]]
1409 1791 name = "memchr"
1410 1792 version = "2.8.3"
@@ -1479,6 +1861,12 @@ dependencies = [
1479 1861 "jni-sys 0.3.1",
1480 1862 ]
1481 1863
1864 [[package]]
1865 name = "new_debug_unreachable"
1866 version = "1.0.6"
1867 source = "registry+https://github.com/rust-lang/crates.io-index"
1868 checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
1869
1482 1870 [[package]]
1483 1871 name = "nix"
1484 1872 version = "0.26.4"
@@ -1490,12 +1878,87 @@ dependencies = [
1490 1878 "libc",
1491 1879 ]
1492 1880
1881 [[package]]
1882 name = "no_std_io2"
1883 version = "0.9.4"
1884 source = "registry+https://github.com/rust-lang/crates.io-index"
1885 checksum = "418abd1b6d34fbf6cae440dc874771b0525a604428704c76e48b29a5e67b8003"
1886 dependencies = [
1887 "memchr",
1888 ]
1889
1493 1890 [[package]]
1494 1891 name = "nohash-hasher"
1495 1892 version = "0.2.0"
1496 1893 source = "registry+https://github.com/rust-lang/crates.io-index"
1497 1894 checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
1498 1895
1896 [[package]]
1897 name = "nom"
1898 version = "8.0.0"
1899 source = "registry+https://github.com/rust-lang/crates.io-index"
1900 checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
1901 dependencies = [
1902 "memchr",
1903 ]
1904
1905 [[package]]
1906 name = "noop_proc_macro"
1907 version = "0.3.0"
1908 source = "registry+https://github.com/rust-lang/crates.io-index"
1909 checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8"
1910
1911 [[package]]
1912 name = "num-bigint"
1913 version = "0.4.8"
1914 source = "registry+https://github.com/rust-lang/crates.io-index"
1915 checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
1916 dependencies = [
1917 "num-integer",
1918 "num-traits",
1919 ]
1920
1921 [[package]]
1922 name = "num-complex"
1923 version = "0.4.6"
1924 source = "registry+https://github.com/rust-lang/crates.io-index"
1925 checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
1926 dependencies = [
1927 "bytemuck",
1928 "num-traits",
1929 ]
1930
1931 [[package]]
1932 name = "num-derive"
1933 version = "0.4.2"
1934 source = "registry+https://github.com/rust-lang/crates.io-index"
1935 checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
1936 dependencies = [
1937 "proc-macro2",
1938 "quote",
1939 "syn",
1940 ]
1941
1942 [[package]]
1943 name = "num-integer"
1944 version = "0.1.46"
1945 source = "registry+https://github.com/rust-lang/crates.io-index"
1946 checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
1947 dependencies = [
1948 "num-traits",
1949 ]
1950
1951 [[package]]
1952 name = "num-rational"
1953 version = "0.4.2"
1954 source = "registry+https://github.com/rust-lang/crates.io-index"
1955 checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
1956 dependencies = [
1957 "num-bigint",
1958 "num-integer",
1959 "num-traits",
1960 ]
1961
1499 1962 [[package]]
1500 1963 name = "num-traits"
1501 1964 version = "0.2.19"
@@ -1805,6 +2268,12 @@ version = "1.21.4"
1805 2268 source = "registry+https://github.com/rust-lang/crates.io-index"
1806 2269 checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
1807 2270
2271 [[package]]
2272 name = "once_cell_polyfill"
2273 version = "1.70.2"
2274 source = "registry+https://github.com/rust-lang/crates.io-index"
2275 checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
2276
1808 2277 [[package]]
1809 2278 name = "orbclient"
1810 2279 version = "0.3.55"
@@ -1863,6 +2332,18 @@ dependencies = [
1863 2332 "windows-link",
1864 2333 ]
1865 2334
2335 [[package]]
2336 name = "paste"
2337 version = "1.0.15"
2338 source = "registry+https://github.com/rust-lang/crates.io-index"
2339 checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
2340
2341 [[package]]
2342 name = "pastey"
2343 version = "0.1.1"
2344 source = "registry+https://github.com/rust-lang/crates.io-index"
2345 checksum = "35fb2e5f958ec131621fdd531e9fc186ed768cbe395337403ae56c17a74c68ec"
2346
1866 2347 [[package]]
1867 2348 name = "percent-encoding"
1868 2349 version = "2.3.2"
@@ -1955,8 +2436,11 @@ checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3"
1955 2436 name = "posprint"
1956 2437 version = "0.1.0"
1957 2438 dependencies = [
2439 "barcoders",
2440 "clap",
1958 2441 "eframe",
1959 2442 "image",
2443 "qrcode",
1960 2444 "rfd",
1961 2445 "serde",
1962 2446 "serde_json",
@@ -2005,6 +2489,42 @@ name = "profiling"
2005 2489 version = "1.0.18"
2006 2490 source = "registry+https://github.com/rust-lang/crates.io-index"
2007 2491 checksum = "3d595e54a326bc53c1c197b32d295e14b169e3cfeaa8dc82b529f947fba6bcf5"
2492 dependencies = [
2493 "profiling-procmacros",
2494 ]
2495
2496 [[package]]
2497 name = "profiling-procmacros"
2498 version = "1.0.18"
2499 source = "registry+https://github.com/rust-lang/crates.io-index"
2500 checksum = "4488a4a36b9a4ba6b9334a32a39971f77c1436ec82c38707bce707699cc3bbcb"
2501 dependencies = [
2502 "quote",
2503 "syn",
2504 ]
2505
2506 [[package]]
2507 name = "pulp"
2508 version = "0.22.3"
2509 source = "registry+https://github.com/rust-lang/crates.io-index"
2510 checksum = "046aa45b989642ec2e4717c8e72d677b13edd831a4d3b6cf37d9a3e54912496a"
2511 dependencies = [
2512 "bytemuck",
2513 "cfg-if",
2514 "libm",
2515 "num-complex",
2516 "paste",
2517 "pulp-wasm-simd-flag",
2518 "raw-cpuid",
2519 "reborrow",
2520 "version_check",
2521 ]
2522
2523 [[package]]
2524 name = "pulp-wasm-simd-flag"
2525 version = "0.1.1"
2526 source = "registry+https://github.com/rust-lang/crates.io-index"
2527 checksum = "1d8f70e07b9c3962945a74e59ca1c511bba65b6419468acc217c457d93f3c740"
2008 2528
2009 2529 [[package]]
2010 2530 name = "pxfm"
@@ -2012,6 +2532,24 @@ version = "0.1.30"
2012 2532 source = "registry+https://github.com/rust-lang/crates.io-index"
2013 2533 checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
2014 2534
2535 [[package]]
2536 name = "qoi"
2537 version = "0.4.1"
2538 source = "registry+https://github.com/rust-lang/crates.io-index"
2539 checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001"
2540 dependencies = [
2541 "bytemuck",
2542 ]
2543
2544 [[package]]
2545 name = "qrcode"
2546 version = "0.14.1"
2547 source = "registry+https://github.com/rust-lang/crates.io-index"
2548 checksum = "d68782463e408eb1e668cf6152704bd856c78c5b6417adaee3203d8f4c1fc9ec"
2549 dependencies = [
2550 "image",
2551 ]
2552
2015 2553 [[package]]
2016 2554 name = "quick-error"
2017 2555 version = "2.0.1"
@@ -2077,12 +2615,97 @@ dependencies = [
2077 2615 "getrandom 0.3.4",
2078 2616 ]
2079 2617
2618 [[package]]
2619 name = "rav1e"
2620 version = "0.8.1"
2621 source = "registry+https://github.com/rust-lang/crates.io-index"
2622 checksum = "43b6dd56e85d9483277cde964fd1bdb0428de4fec5ebba7540995639a21cb32b"
2623 dependencies = [
2624 "aligned-vec",
2625 "arbitrary",
2626 "arg_enum_proc_macro",
2627 "arrayvec",
2628 "av-scenechange",
2629 "av1-grain",
2630 "bitstream-io",
2631 "built",
2632 "cfg-if",
2633 "interpolate_name",
2634 "itertools",
2635 "libc",
2636 "libfuzzer-sys",
2637 "log",
2638 "maybe-rayon",
2639 "new_debug_unreachable",
2640 "noop_proc_macro",
2641 "num-derive",
2642 "num-traits",
2643 "paste",
2644 "profiling",
2645 "rand",
2646 "rand_chacha",
2647 "simd_helpers",
2648 "thiserror 2.0.18",
2649 "v_frame",
2650 "wasm-bindgen",
2651 ]
2652
2653 [[package]]
2654 name = "ravif"
2655 version = "0.13.0"
2656 source = "registry+https://github.com/rust-lang/crates.io-index"
2657 checksum = "e52310197d971b0f5be7fe6b57530dcd27beb35c1b013f29d66c1ad73fbbcc45"
2658 dependencies = [
2659 "avif-serialize",
2660 "imgref",
2661 "loop9",
2662 "quick-error",
2663 "rav1e",
2664 "rayon",
2665 "rgb",
2666 ]
2667
2668 [[package]]
2669 name = "raw-cpuid"
2670 version = "11.6.0"
2671 source = "registry+https://github.com/rust-lang/crates.io-index"
2672 checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186"
2673 dependencies = [
2674 "bitflags 2.13.0",
2675 ]
2676
2080 2677 [[package]]
2081 2678 name = "raw-window-handle"
2082 2679 version = "0.6.2"
2083 2680 source = "registry+https://github.com/rust-lang/crates.io-index"
2084 2681 checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539"
2085 2682
2683 [[package]]
2684 name = "rayon"
2685 version = "1.12.0"
2686 source = "registry+https://github.com/rust-lang/crates.io-index"
2687 checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
2688 dependencies = [
2689 "either",
2690 "rayon-core",
2691 ]
2692
2693 [[package]]
2694 name = "rayon-core"
2695 version = "1.13.0"
2696 source = "registry+https://github.com/rust-lang/crates.io-index"
2697 checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
2698 dependencies = [
2699 "crossbeam-deque",
2700 "crossbeam-utils",
2701 ]
2702
2703 [[package]]
2704 name = "reborrow"
2705 version = "0.5.5"
2706 source = "registry+https://github.com/rust-lang/crates.io-index"
2707 checksum = "03251193000f4bd3b042892be858ee50e8b3719f2b08e5833ac4353724632430"
2708
2086 2709 [[package]]
2087 2710 name = "redox_syscall"
2088 2711 version = "0.4.1"
@@ -2134,6 +2757,12 @@ dependencies = [
2134 2757 "windows-sys 0.59.0",
2135 2758 ]
2136 2759
2760 [[package]]
2761 name = "rgb"
2762 version = "0.8.53"
2763 source = "registry+https://github.com/rust-lang/crates.io-index"
2764 checksum = "47b34b781b31e5d73e9fbc8689c70551fd1ade9a19e3e28cfec8580a79290cc4"
2765
2137 2766 [[package]]
2138 2767 name = "rustc_version"
2139 2768 version = "0.4.1"
@@ -2307,6 +2936,15 @@ dependencies = [
2307 2936 "simdutf8",
2308 2937 ]
2309 2938
2939 [[package]]
2940 name = "simd_helpers"
2941 version = "0.1.0"
2942 source = "registry+https://github.com/rust-lang/crates.io-index"
2943 checksum = "95890f873bec569a0362c235787f3aca6e1e887302ba4840839bcc6459c42da6"
2944 dependencies = [
2945 "quote",
2946 ]
2947
2310 2948 [[package]]
2311 2949 name = "simdutf8"
2312 2950 version = "0.1.5"
@@ -2393,6 +3031,12 @@ version = "1.1.0"
2393 3031 source = "registry+https://github.com/rust-lang/crates.io-index"
2394 3032 checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
2395 3033
3034 [[package]]
3035 name = "strsim"
3036 version = "0.11.1"
3037 source = "registry+https://github.com/rust-lang/crates.io-index"
3038 checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
3039
2396 3040 [[package]]
2397 3041 name = "syn"
2398 3042 version = "2.0.119"
@@ -2617,6 +3261,12 @@ version = "1.0.4"
2617 3261 source = "registry+https://github.com/rust-lang/crates.io-index"
2618 3262 checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
2619 3263
3264 [[package]]
3265 name = "utf8parse"
3266 version = "0.2.2"
3267 source = "registry+https://github.com/rust-lang/crates.io-index"
3268 checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
3269
2620 3270 [[package]]
2621 3271 name = "uuid"
2622 3272 version = "1.23.5"
@@ -2628,6 +3278,17 @@ dependencies = [
2628 3278 "wasm-bindgen",
2629 3279 ]
2630 3280
3281 [[package]]
3282 name = "v_frame"
3283 version = "0.3.9"
3284 source = "registry+https://github.com/rust-lang/crates.io-index"
3285 checksum = "666b7727c8875d6ab5db9533418d7c764233ac9c0cff1d469aec8fa127597be2"
3286 dependencies = [
3287 "aligned-vec",
3288 "num-traits",
3289 "wasm-bindgen",
3290 ]
3291
2631 3292 [[package]]
2632 3293 name = "version_check"
2633 3294 version = "0.9.5"
@@ -3183,6 +3844,12 @@ version = "0.8.28"
3183 3844 source = "registry+https://github.com/rust-lang/crates.io-index"
3184 3845 checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f"
3185 3846
3847 [[package]]
3848 name = "y4m"
3849 version = "0.8.0"
3850 source = "registry+https://github.com/rust-lang/crates.io-index"
3851 checksum = "7a5a4b21e1a62b67a2970e6831bc091d7b87e119e7f9791aef9702e3bef04448"
3852
3186 3853 [[package]]
3187 3854 name = "yoke"
3188 3855 version = "0.8.3"
@@ -3353,6 +4020,15 @@ version = "0.5.1"
3353 4020 source = "registry+https://github.com/rust-lang/crates.io-index"
3354 4021 checksum = "cb8a0807f7c01457d0379ba880ba6322660448ddebc890ce29bb64da71fb40f9"
3355 4022
4023 [[package]]
4024 name = "zune-inflate"
4025 version = "0.2.54"
4026 source = "registry+https://github.com/rust-lang/crates.io-index"
4027 checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02"
4028 dependencies = [
4029 "simd-adler32",
4030 ]
4031
3356 4032 [[package]]
3357 4033 name = "zune-jpeg"
3358 4034 version = "0.5.15"
@@ -36,6 +36,24 @@ dependencies = [
36 "zerocopy",
36 "zerocopy",
37]
37]
38
38
39[[package]]
40name = "aligned"
41version = "0.4.3"
42source = "registry+https://github.com/rust-lang/crates.io-index"
43checksum = "ee4508988c62edf04abd8d92897fca0c2995d907ce1dfeaf369dac3716a40685"
44dependencies = [
45 "as-slice",
46]
47
48[[package]]
49name = "aligned-vec"
50version = "0.6.4"
51source = "registry+https://github.com/rust-lang/crates.io-index"
52checksum = "dc890384c8602f339876ded803c97ad529f3842aba97f6392b3dba0dd171769b"
53dependencies = [
54 "equator",
55]
56
39[[package]]
57[[package]]
40name = "android-activity"
58name = "android-activity"
41version = "0.6.1"
59version = "0.6.1"
@@ -61,6 +79,68 @@ version = "0.2.2"
61source = "registry+https://github.com/rust-lang/crates.io-index"
79source = "registry+https://github.com/rust-lang/crates.io-index"
62checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04"
80checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04"
63
81
82[[package]]
83name = "anstream"
84version = "1.0.0"
85source = "registry+https://github.com/rust-lang/crates.io-index"
86checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
87dependencies = [
88 "anstyle",
89 "anstyle-parse",
90 "anstyle-query",
91 "anstyle-wincon",
92 "colorchoice",
93 "is_terminal_polyfill",
94 "utf8parse",
95]
96
97[[package]]
98name = "anstyle"
99version = "1.0.14"
100source = "registry+https://github.com/rust-lang/crates.io-index"
101checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
102
103[[package]]
104name = "anstyle-parse"
105version = "1.0.0"
106source = "registry+https://github.com/rust-lang/crates.io-index"
107checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
108dependencies = [
109 "utf8parse",
110]
111
112[[package]]
113name = "anstyle-query"
114version = "1.1.5"
115source = "registry+https://github.com/rust-lang/crates.io-index"
116checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
117dependencies = [
118 "windows-sys 0.61.2",
119]
120
121[[package]]
122name = "anstyle-wincon"
123version = "3.0.11"
124source = "registry+https://github.com/rust-lang/crates.io-index"
125checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
126dependencies = [
127 "anstyle",
128 "once_cell_polyfill",
129 "windows-sys 0.61.2",
130]
131
132[[package]]
133name = "anyhow"
134version = "1.0.103"
135source = "registry+https://github.com/rust-lang/crates.io-index"
136checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3"
137
138[[package]]
139name = "arbitrary"
140version = "1.4.2"
141source = "registry+https://github.com/rust-lang/crates.io-index"
142checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1"
143
64[[package]]
144[[package]]
65name = "arboard"
145name = "arboard"
66version = "3.6.1"
146version = "3.6.1"
@@ -81,6 +161,32 @@ dependencies = [
81 "x11rb",
161 "x11rb",
82]
162]
83
163
164[[package]]
165name = "arg_enum_proc_macro"
166version = "0.3.4"
167source = "registry+https://github.com/rust-lang/crates.io-index"
168checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea"
169dependencies = [
170 "proc-macro2",
171 "quote",
172 "syn",
173]
174
175[[package]]
176name = "arrayvec"
177version = "0.7.8"
178source = "registry+https://github.com/rust-lang/crates.io-index"
179checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56"
180
181[[package]]
182name = "as-slice"
183version = "0.2.1"
184source = "registry+https://github.com/rust-lang/crates.io-index"
185checksum = "516b6b4f0e40d50dcda9365d53964ec74560ad4284da2e7fc97122cd83174516"
186dependencies = [
187 "stable_deref_trait",
188]
189
84[[package]]
190[[package]]
85name = "ashpd"
191name = "ashpd"
86version = "0.11.1"
192version = "0.11.1"
@@ -268,6 +374,64 @@ version = "1.5.1"
268source = "registry+https://github.com/rust-lang/crates.io-index"
374source = "registry+https://github.com/rust-lang/crates.io-index"
269checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
375checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
270
376
377[[package]]
378name = "av-scenechange"
379version = "0.14.1"
380source = "registry+https://github.com/rust-lang/crates.io-index"
381checksum = "0f321d77c20e19b92c39e7471cf986812cbb46659d2af674adc4331ef3f18394"
382dependencies = [
383 "aligned",
384 "anyhow",
385 "arg_enum_proc_macro",
386 "arrayvec",
387 "log",
388 "num-rational",
389 "num-traits",
390 "pastey",
391 "rayon",
392 "thiserror 2.0.18",
393 "v_frame",
394 "y4m",
395]
396
397[[package]]
398name = "av1-grain"
399version = "0.2.5"
400source = "registry+https://github.com/rust-lang/crates.io-index"
401checksum = "8cfddb07216410377231960af4fcab838eaa12e013417781b78bd95ee22077f8"
402dependencies = [
403 "anyhow",
404 "arrayvec",
405 "log",
406 "nom",
407 "num-rational",
408 "v_frame",
409]
410
411[[package]]
412name = "avif-serialize"
413version = "0.8.9"
414source = "registry+https://github.com/rust-lang/crates.io-index"
415checksum = "e7178fe5f7d460b13895ebb9dcb28a3a6216d2df2574a0806cb51b555d297f38"
416dependencies = [
417 "arrayvec",
418]
419
420[[package]]
421name = "barcoders"
422version = "2.0.0"
423source = "registry+https://github.com/rust-lang/crates.io-index"
424checksum = "a3826fb6e98ec72c0c0db8c9a40af4932d16793021027469857e84c1b50a1e8f"
425dependencies = [
426 "image",
427]
428
429[[package]]
430name = "bit_field"
431version = "0.10.3"
432source = "registry+https://github.com/rust-lang/crates.io-index"
433checksum = "1e4b40c7323adcfc0a41c4b88143ed58346ff65a288fc144329c5c45e05d70c6"
434
271[[package]]
435[[package]]
272name = "bitflags"
436name = "bitflags"
273version = "1.3.2"
437version = "1.3.2"
@@ -280,6 +444,15 @@ version = "2.13.0"
280source = "registry+https://github.com/rust-lang/crates.io-index"
444source = "registry+https://github.com/rust-lang/crates.io-index"
281checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
445checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
282
446
447[[package]]
448name = "bitstream-io"
449version = "4.10.0"
450source = "registry+https://github.com/rust-lang/crates.io-index"
451checksum = "7eff00be299a18769011411c9def0d827e8f2d7bf0c3dbf53633147a8867fd1f"
452dependencies = [
453 "no_std_io2",
454]
455
283[[package]]
456[[package]]
284name = "block2"
457name = "block2"
285version = "0.5.1"
458version = "0.5.1"
@@ -311,6 +484,12 @@ dependencies = [
311 "piper",
484 "piper",
312]
485]
313
486
487[[package]]
488name = "built"
489version = "0.8.1"
490source = "registry+https://github.com/rust-lang/crates.io-index"
491checksum = "5c0e531d93d39c34eef561e929e8a7f86d77a5af08aac4f6d6e39976c51858e9"
492
314[[package]]
493[[package]]
315name = "bumpalo"
494name = "bumpalo"
316version = "3.20.3"
495version = "3.20.3"
@@ -421,6 +600,46 @@ dependencies = [
421 "libc",
600 "libc",
422]
601]
423
602
603[[package]]
604name = "clap"
605version = "4.6.1"
606source = "registry+https://github.com/rust-lang/crates.io-index"
607checksum = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51"
608dependencies = [
609 "clap_builder",
610 "clap_derive",
611]
612
613[[package]]
614name = "clap_builder"
615version = "4.6.0"
616source = "registry+https://github.com/rust-lang/crates.io-index"
617checksum = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f"
618dependencies = [
619 "anstream",
620 "anstyle",
621 "clap_lex",
622 "strsim",
623]
624
625[[package]]
626name = "clap_derive"
627version = "4.6.1"
628source = "registry+https://github.com/rust-lang/crates.io-index"
629checksum = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9"
630dependencies = [
631 "heck",
632 "proc-macro2",
633 "quote",
634 "syn",
635]
636
637[[package]]
638name = "clap_lex"
639version = "1.1.0"
640source = "registry+https://github.com/rust-lang/crates.io-index"
641checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9"
642
424[[package]]
643[[package]]
425name = "clipboard-win"
644name = "clipboard-win"
426version = "5.4.1"
645version = "5.4.1"
@@ -436,6 +655,12 @@ version = "1.1.0"
436source = "registry+https://github.com/rust-lang/crates.io-index"
655source = "registry+https://github.com/rust-lang/crates.io-index"
437checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
656checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
438
657
658[[package]]
659name = "colorchoice"
660version = "1.0.5"
661source = "registry+https://github.com/rust-lang/crates.io-index"
662checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
663
439[[package]]
664[[package]]
440name = "combine"
665name = "combine"
441version = "4.6.7"
666version = "4.6.7"
@@ -514,6 +739,25 @@ dependencies = [
514 "cfg-if",
739 "cfg-if",
515]
740]
516
741
742[[package]]
743name = "crossbeam-deque"
744version = "0.8.7"
745source = "registry+https://github.com/rust-lang/crates.io-index"
746checksum = "5181e0de7b61eb03a81e347d6dd8797bae9da5146707b51077e2d71a54ec0ceb"
747dependencies = [
748 "crossbeam-epoch",
749 "crossbeam-utils",
750]
751
752[[package]]
753name = "crossbeam-epoch"
754version = "0.9.20"
755source = "registry+https://github.com/rust-lang/crates.io-index"
756checksum = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f"
757dependencies = [
758 "crossbeam-utils",
759]
760
517[[package]]
761[[package]]
518name = "crossbeam-utils"
762name = "crossbeam-utils"
519version = "0.8.22"
763version = "0.8.22"
@@ -687,6 +931,12 @@ dependencies = [
687 "web-sys",
931 "web-sys",
688]
932]
689
933
934[[package]]
935name = "either"
936version = "1.16.0"
937source = "registry+https://github.com/rust-lang/crates.io-index"
938checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
939
690[[package]]
940[[package]]
691name = "emath"
941name = "emath"
692version = "0.31.1"
942version = "0.31.1"
@@ -747,6 +997,26 @@ version = "0.31.1"
747source = "registry+https://github.com/rust-lang/crates.io-index"
997source = "registry+https://github.com/rust-lang/crates.io-index"
748checksum = "fc7e7a64c02cf7a5b51e745a9e45f60660a286f151c238b9d397b3e923f5082f"
998checksum = "fc7e7a64c02cf7a5b51e745a9e45f60660a286f151c238b9d397b3e923f5082f"
749
999
1000[[package]]
1001name = "equator"
1002version = "0.4.2"
1003source = "registry+https://github.com/rust-lang/crates.io-index"
1004checksum = "4711b213838dfee0117e3be6ac926007d7f433d7bbe33595975d4190cb07e6fc"
1005dependencies = [
1006 "equator-macro",
1007]
1008
1009[[package]]
1010name = "equator-macro"
1011version = "0.4.2"
1012source = "registry+https://github.com/rust-lang/crates.io-index"
1013checksum = "44f23cf4b44bfce11a86ace86f8a73ffdec849c9fd00a386a53d278bd9e81fb3"
1014dependencies = [
1015 "proc-macro2",
1016 "quote",
1017 "syn",
1018]
1019
750[[package]]
1020[[package]]
751name = "equivalent"
1021name = "equivalent"
752version = "1.0.2"
1022version = "1.0.2"
@@ -790,6 +1060,23 @@ dependencies = [
790 "pin-project-lite",
1060 "pin-project-lite",
791]
1061]
792
1062
1063[[package]]
1064name = "exr"
1065version = "1.74.2"
1066source = "registry+https://github.com/rust-lang/crates.io-index"
1067checksum = "711fe42c9964295e01ee3fba3f9fe0e1d24b98886950d68efe81b1c76e21adf3"
1068dependencies = [
1069 "bit_field",
1070 "half",
1071 "lebe",
1072 "miniz_oxide",
1073 "num-complex",
1074 "pulp",
1075 "rayon-core",
1076 "smallvec",
1077 "zune-inflate",
1078]
1079
793[[package]]
1080[[package]]
794name = "fastrand"
1081name = "fastrand"
795version = "2.4.1"
1082version = "2.4.1"
@@ -1065,6 +1352,12 @@ version = "0.17.1"
1065source = "registry+https://github.com/rust-lang/crates.io-index"
1352source = "registry+https://github.com/rust-lang/crates.io-index"
1066checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
1353checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
1067
1354
1355[[package]]
1356name = "heck"
1357version = "0.5.0"
1358source = "registry+https://github.com/rust-lang/crates.io-index"
1359checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
1360
1068[[package]]
1361[[package]]
1069name = "hermit-abi"
1362name = "hermit-abi"
1070version = "0.5.2"
1363version = "0.5.2"
@@ -1189,15 +1482,37 @@ dependencies = [
1189 "bytemuck",
1482 "bytemuck",
1190 "byteorder-lite",
1483 "byteorder-lite",
1191 "color_quant",
1484 "color_quant",
1485 "exr",
1192 "gif",
1486 "gif",
1487 "image-webp",
1193 "moxcms",
1488 "moxcms",
1194 "num-traits",
1489 "num-traits",
1195 "png",
1490 "png",
1491 "qoi",
1492 "ravif",
1493 "rayon",
1494 "rgb",
1196 "tiff",
1495 "tiff",
1197 "zune-core",
1496 "zune-core",
1198 "zune-jpeg",
1497 "zune-jpeg",
1199]
1498]
1200
1499
1500[[package]]
1501name = "image-webp"
1502version = "0.2.4"
1503source = "registry+https://github.com/rust-lang/crates.io-index"
1504checksum = "525e9ff3e1a4be2fbea1fdf0e98686a6d98b4d8f937e1bf7402245af1909e8c3"
1505dependencies = [
1506 "byteorder-lite",
1507 "quick-error",
1508]
1509
1510[[package]]
1511name = "imgref"
1512version = "1.12.2"
1513source = "registry+https://github.com/rust-lang/crates.io-index"
1514checksum = "89194689a993ab15268672e99e7b0e19da2da3268ac682e8f02d29d4d1434cd7"
1515
1201[[package]]
1516[[package]]
1202name = "indexmap"
1517name = "indexmap"
1203version = "2.14.0"
1518version = "2.14.0"
@@ -1208,6 +1523,17 @@ dependencies = [
1208 "hashbrown",
1523 "hashbrown",
1209]
1524]
1210
1525
1526[[package]]
1527name = "interpolate_name"
1528version = "0.2.4"
1529source = "registry+https://github.com/rust-lang/crates.io-index"
1530checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60"
1531dependencies = [
1532 "proc-macro2",
1533 "quote",
1534 "syn",
1535]
1536
1211[[package]]
1537[[package]]
1212name = "io-kit-sys"
1538name = "io-kit-sys"
1213version = "0.4.1"
1539version = "0.4.1"
@@ -1218,6 +1544,21 @@ dependencies = [
1218 "mach2",
1544 "mach2",
1219]
1545]
1220
1546
1547[[package]]
1548name = "is_terminal_polyfill"
1549version = "1.70.2"
1550source = "registry+https://github.com/rust-lang/crates.io-index"
1551checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
1552
1553[[package]]
1554name = "itertools"
1555version = "0.14.0"
1556source = "registry+https://github.com/rust-lang/crates.io-index"
1557checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
1558dependencies = [
1559 "either",
1560]
1561
1221[[package]]
1562[[package]]
1222name = "itoa"
1563name = "itoa"
1223version = "1.0.18"
1564version = "1.0.18"
@@ -1309,12 +1650,28 @@ version = "3.1.0"
1309source = "registry+https://github.com/rust-lang/crates.io-index"
1650source = "registry+https://github.com/rust-lang/crates.io-index"
1310checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
1651checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
1311
1652
1653[[package]]
1654name = "lebe"
1655version = "0.5.3"
1656source = "registry+https://github.com/rust-lang/crates.io-index"
1657checksum = "7a79a3332a6609480d7d0c9eab957bca6b455b91bb84e66d19f5ff66294b85b8"
1658
1312[[package]]
1659[[package]]
1313name = "libc"
1660name = "libc"
1314version = "0.2.186"
1661version = "0.2.186"
1315source = "registry+https://github.com/rust-lang/crates.io-index"
1662source = "registry+https://github.com/rust-lang/crates.io-index"
1316checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
1663checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
1317
1664
1665[[package]]
1666name = "libfuzzer-sys"
1667version = "0.4.13"
1668source = "registry+https://github.com/rust-lang/crates.io-index"
1669checksum = "a9fd2f41a1cba099f79a0b6b6c35656cf7c03351a7bae8ff0f28f25270f929d2"
1670dependencies = [
1671 "arbitrary",
1672 "cc",
1673]
1674
1318[[package]]
1675[[package]]
1319name = "libloading"
1676name = "libloading"
1320version = "0.8.9"
1677version = "0.8.9"
@@ -1325,6 +1682,12 @@ dependencies = [
1325 "windows-link",
1682 "windows-link",
1326]
1683]
1327
1684
1685[[package]]
1686name = "libm"
1687version = "0.2.16"
1688source = "registry+https://github.com/rust-lang/crates.io-index"
1689checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
1690
1328[[package]]
1691[[package]]
1329name = "libredox"
1692name = "libredox"
1330version = "0.1.18"
1693version = "0.1.18"
@@ -1396,6 +1759,15 @@ version = "0.4.33"
1396source = "registry+https://github.com/rust-lang/crates.io-index"
1759source = "registry+https://github.com/rust-lang/crates.io-index"
1397checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
1760checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
1398
1761
1762[[package]]
1763name = "loop9"
1764version = "0.1.5"
1765source = "registry+https://github.com/rust-lang/crates.io-index"
1766checksum = "0fae87c125b03c1d2c0150c90365d7d6bcc53fb73a9acaef207d2d065860f062"
1767dependencies = [
1768 "imgref",
1769]
1770
1399[[package]]
1771[[package]]
1400name = "mach2"
1772name = "mach2"
1401version = "0.4.3"
1773version = "0.4.3"
@@ -1405,6 +1777,16 @@ dependencies = [
1405 "libc",
1777 "libc",
1406]
1778]
1407
1779
1780[[package]]
1781name = "maybe-rayon"
1782version = "0.1.1"
1783source = "registry+https://github.com/rust-lang/crates.io-index"
1784checksum = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519"
1785dependencies = [
1786 "cfg-if",
1787 "rayon",
1788]
1789
1408[[package]]
1790[[package]]
1409name = "memchr"
1791name = "memchr"
1410version = "2.8.3"
1792version = "2.8.3"
@@ -1479,6 +1861,12 @@ dependencies = [
1479 "jni-sys 0.3.1",
1861 "jni-sys 0.3.1",
1480]
1862]
1481
1863
1864[[package]]
1865name = "new_debug_unreachable"
1866version = "1.0.6"
1867source = "registry+https://github.com/rust-lang/crates.io-index"
1868checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
1869
1482[[package]]
1870[[package]]
1483name = "nix"
1871name = "nix"
1484version = "0.26.4"
1872version = "0.26.4"
@@ -1490,12 +1878,87 @@ dependencies = [
1490 "libc",
1878 "libc",
1491]
1879]
1492
1880
1881[[package]]
1882name = "no_std_io2"
1883version = "0.9.4"
1884source = "registry+https://github.com/rust-lang/crates.io-index"
1885checksum = "418abd1b6d34fbf6cae440dc874771b0525a604428704c76e48b29a5e67b8003"
1886dependencies = [
1887 "memchr",
1888]
1889
1493[[package]]
1890[[package]]
1494name = "nohash-hasher"
1891name = "nohash-hasher"
1495version = "0.2.0"
1892version = "0.2.0"
1496source = "registry+https://github.com/rust-lang/crates.io-index"
1893source = "registry+https://github.com/rust-lang/crates.io-index"
1497checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
1894checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
1498
1895
1896[[package]]
1897name = "nom"
1898version = "8.0.0"
1899source = "registry+https://github.com/rust-lang/crates.io-index"
1900checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
1901dependencies = [
1902 "memchr",
1903]
1904
1905[[package]]
1906name = "noop_proc_macro"
1907version = "0.3.0"
1908source = "registry+https://github.com/rust-lang/crates.io-index"
1909checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8"
1910
1911[[package]]
1912name = "num-bigint"
1913version = "0.4.8"
1914source = "registry+https://github.com/rust-lang/crates.io-index"
1915checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
1916dependencies = [
1917 "num-integer",
1918 "num-traits",
1919]
1920
1921[[package]]
1922name = "num-complex"
1923version = "0.4.6"
1924source = "registry+https://github.com/rust-lang/crates.io-index"
1925checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
1926dependencies = [
1927 "bytemuck",
1928 "num-traits",
1929]
1930
1931[[package]]
1932name = "num-derive"
1933version = "0.4.2"
1934source = "registry+https://github.com/rust-lang/crates.io-index"
1935checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
1936dependencies = [
1937 "proc-macro2",
1938 "quote",
1939 "syn",
1940]
1941
1942[[package]]
1943name = "num-integer"
1944version = "0.1.46"
1945source = "registry+https://github.com/rust-lang/crates.io-index"
1946checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
1947dependencies = [
1948 "num-traits",
1949]
1950
1951[[package]]
1952name = "num-rational"
1953version = "0.4.2"
1954source = "registry+https://github.com/rust-lang/crates.io-index"
1955checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
1956dependencies = [
1957 "num-bigint",
1958 "num-integer",
1959 "num-traits",
1960]
1961
1499[[package]]
1962[[package]]
1500name = "num-traits"
1963name = "num-traits"
1501version = "0.2.19"
1964version = "0.2.19"
@@ -1805,6 +2268,12 @@ version = "1.21.4"
1805source = "registry+https://github.com/rust-lang/crates.io-index"
2268source = "registry+https://github.com/rust-lang/crates.io-index"
1806checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
2269checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
1807
2270
2271[[package]]
2272name = "once_cell_polyfill"
2273version = "1.70.2"
2274source = "registry+https://github.com/rust-lang/crates.io-index"
2275checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
2276
1808[[package]]
2277[[package]]
1809name = "orbclient"
2278name = "orbclient"
1810version = "0.3.55"
2279version = "0.3.55"
@@ -1863,6 +2332,18 @@ dependencies = [
1863 "windows-link",
2332 "windows-link",
1864]
2333]
1865
2334
2335[[package]]
2336name = "paste"
2337version = "1.0.15"
2338source = "registry+https://github.com/rust-lang/crates.io-index"
2339checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
2340
2341[[package]]
2342name = "pastey"
2343version = "0.1.1"
2344source = "registry+https://github.com/rust-lang/crates.io-index"
2345checksum = "35fb2e5f958ec131621fdd531e9fc186ed768cbe395337403ae56c17a74c68ec"
2346
1866[[package]]
2347[[package]]
1867name = "percent-encoding"
2348name = "percent-encoding"
1868version = "2.3.2"
2349version = "2.3.2"
@@ -1955,8 +2436,11 @@ checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3"
1955name = "posprint"
2436name = "posprint"
1956version = "0.1.0"
2437version = "0.1.0"
1957dependencies = [
2438dependencies = [
2439 "barcoders",
2440 "clap",
1958 "eframe",
2441 "eframe",
1959 "image",
2442 "image",
2443 "qrcode",
1960 "rfd",
2444 "rfd",
1961 "serde",
2445 "serde",
1962 "serde_json",
2446 "serde_json",
@@ -2005,6 +2489,42 @@ name = "profiling"
2005version = "1.0.18"
2489version = "1.0.18"
2006source = "registry+https://github.com/rust-lang/crates.io-index"
2490source = "registry+https://github.com/rust-lang/crates.io-index"
2007checksum = "3d595e54a326bc53c1c197b32d295e14b169e3cfeaa8dc82b529f947fba6bcf5"
2491checksum = "3d595e54a326bc53c1c197b32d295e14b169e3cfeaa8dc82b529f947fba6bcf5"
2492dependencies = [
2493 "profiling-procmacros",
2494]
2495
2496[[package]]
2497name = "profiling-procmacros"
2498version = "1.0.18"
2499source = "registry+https://github.com/rust-lang/crates.io-index"
2500checksum = "4488a4a36b9a4ba6b9334a32a39971f77c1436ec82c38707bce707699cc3bbcb"
2501dependencies = [
2502 "quote",
2503 "syn",
2504]
2505
2506[[package]]
2507name = "pulp"
2508version = "0.22.3"
2509source = "registry+https://github.com/rust-lang/crates.io-index"
2510checksum = "046aa45b989642ec2e4717c8e72d677b13edd831a4d3b6cf37d9a3e54912496a"
2511dependencies = [
2512 "bytemuck",
2513 "cfg-if",
2514 "libm",
2515 "num-complex",
2516 "paste",
2517 "pulp-wasm-simd-flag",
2518 "raw-cpuid",
2519 "reborrow",
2520 "version_check",
2521]
2522
2523[[package]]
2524name = "pulp-wasm-simd-flag"
2525version = "0.1.1"
2526source = "registry+https://github.com/rust-lang/crates.io-index"
2527checksum = "1d8f70e07b9c3962945a74e59ca1c511bba65b6419468acc217c457d93f3c740"
2008
2528
2009[[package]]
2529[[package]]
2010name = "pxfm"
2530name = "pxfm"
@@ -2012,6 +2532,24 @@ version = "0.1.30"
2012source = "registry+https://github.com/rust-lang/crates.io-index"
2532source = "registry+https://github.com/rust-lang/crates.io-index"
2013checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
2533checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
2014
2534
2535[[package]]
2536name = "qoi"
2537version = "0.4.1"
2538source = "registry+https://github.com/rust-lang/crates.io-index"
2539checksum = "7f6d64c71eb498fe9eae14ce4ec935c555749aef511cca85b5568910d6e48001"
2540dependencies = [
2541 "bytemuck",
2542]
2543
2544[[package]]
2545name = "qrcode"
2546version = "0.14.1"
2547source = "registry+https://github.com/rust-lang/crates.io-index"
2548checksum = "d68782463e408eb1e668cf6152704bd856c78c5b6417adaee3203d8f4c1fc9ec"
2549dependencies = [
2550 "image",
2551]
2552
2015[[package]]
2553[[package]]
2016name = "quick-error"
2554name = "quick-error"
2017version = "2.0.1"
2555version = "2.0.1"
@@ -2077,12 +2615,97 @@ dependencies = [
2077 "getrandom 0.3.4",
2615 "getrandom 0.3.4",
2078]
2616]
2079
2617
2618[[package]]
2619name = "rav1e"
2620version = "0.8.1"
2621source = "registry+https://github.com/rust-lang/crates.io-index"
2622checksum = "43b6dd56e85d9483277cde964fd1bdb0428de4fec5ebba7540995639a21cb32b"
2623dependencies = [
2624 "aligned-vec",
2625 "arbitrary",
2626 "arg_enum_proc_macro",
2627 "arrayvec",
2628 "av-scenechange",
2629 "av1-grain",
2630 "bitstream-io",
2631 "built",
2632 "cfg-if",
2633 "interpolate_name",
2634 "itertools",
2635 "libc",
2636 "libfuzzer-sys",
2637 "log",
2638 "maybe-rayon",
2639 "new_debug_unreachable",
2640 "noop_proc_macro",
2641 "num-derive",
2642 "num-traits",
2643 "paste",
2644 "profiling",
2645 "rand",
2646 "rand_chacha",
2647 "simd_helpers",
2648 "thiserror 2.0.18",
2649 "v_frame",
2650 "wasm-bindgen",
2651]
2652
2653[[package]]
2654name = "ravif"
2655version = "0.13.0"
2656source = "registry+https://github.com/rust-lang/crates.io-index"
2657checksum = "e52310197d971b0f5be7fe6b57530dcd27beb35c1b013f29d66c1ad73fbbcc45"
2658dependencies = [
2659 "avif-serialize",
2660 "imgref",
2661 "loop9",
2662 "quick-error",
2663 "rav1e",
2664 "rayon",
2665 "rgb",
2666]
2667
2668[[package]]
2669name = "raw-cpuid"
2670version = "11.6.0"
2671source = "registry+https://github.com/rust-lang/crates.io-index"
2672checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186"
2673dependencies = [
2674 "bitflags 2.13.0",
2675]
2676
2080[[package]]
2677[[package]]
2081name = "raw-window-handle"
2678name = "raw-window-handle"
2082version = "0.6.2"
2679version = "0.6.2"
2083source = "registry+https://github.com/rust-lang/crates.io-index"
2680source = "registry+https://github.com/rust-lang/crates.io-index"
2084checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539"
2681checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539"
2085
2682
2683[[package]]
2684name = "rayon"
2685version = "1.12.0"
2686source = "registry+https://github.com/rust-lang/crates.io-index"
2687checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
2688dependencies = [
2689 "either",
2690 "rayon-core",
2691]
2692
2693[[package]]
2694name = "rayon-core"
2695version = "1.13.0"
2696source = "registry+https://github.com/rust-lang/crates.io-index"
2697checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
2698dependencies = [
2699 "crossbeam-deque",
2700 "crossbeam-utils",
2701]
2702
2703[[package]]
2704name = "reborrow"
2705version = "0.5.5"
2706source = "registry+https://github.com/rust-lang/crates.io-index"
2707checksum = "03251193000f4bd3b042892be858ee50e8b3719f2b08e5833ac4353724632430"
2708
2086[[package]]
2709[[package]]
2087name = "redox_syscall"
2710name = "redox_syscall"
2088version = "0.4.1"
2711version = "0.4.1"
@@ -2134,6 +2757,12 @@ dependencies = [
2134 "windows-sys 0.59.0",
2757 "windows-sys 0.59.0",
2135]
2758]
2136
2759
2760[[package]]
2761name = "rgb"
2762version = "0.8.53"
2763source = "registry+https://github.com/rust-lang/crates.io-index"
2764checksum = "47b34b781b31e5d73e9fbc8689c70551fd1ade9a19e3e28cfec8580a79290cc4"
2765
2137[[package]]
2766[[package]]
2138name = "rustc_version"
2767name = "rustc_version"
2139version = "0.4.1"
2768version = "0.4.1"
@@ -2307,6 +2936,15 @@ dependencies = [
2307 "simdutf8",
2936 "simdutf8",
2308]
2937]
2309
2938
2939[[package]]
2940name = "simd_helpers"
2941version = "0.1.0"
2942source = "registry+https://github.com/rust-lang/crates.io-index"
2943checksum = "95890f873bec569a0362c235787f3aca6e1e887302ba4840839bcc6459c42da6"
2944dependencies = [
2945 "quote",
2946]
2947
2310[[package]]
2948[[package]]
2311name = "simdutf8"
2949name = "simdutf8"
2312version = "0.1.5"
2950version = "0.1.5"
@@ -2393,6 +3031,12 @@ version = "1.1.0"
2393source = "registry+https://github.com/rust-lang/crates.io-index"
3031source = "registry+https://github.com/rust-lang/crates.io-index"
2394checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
3032checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
2395
3033
3034[[package]]
3035name = "strsim"
3036version = "0.11.1"
3037source = "registry+https://github.com/rust-lang/crates.io-index"
3038checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
3039
2396[[package]]
3040[[package]]
2397name = "syn"
3041name = "syn"
2398version = "2.0.119"
3042version = "2.0.119"
@@ -2617,6 +3261,12 @@ version = "1.0.4"
2617source = "registry+https://github.com/rust-lang/crates.io-index"
3261source = "registry+https://github.com/rust-lang/crates.io-index"
2618checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
3262checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
2619
3263
3264[[package]]
3265name = "utf8parse"
3266version = "0.2.2"
3267source = "registry+https://github.com/rust-lang/crates.io-index"
3268checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
3269
2620[[package]]
3270[[package]]
2621name = "uuid"
3271name = "uuid"
2622version = "1.23.5"
3272version = "1.23.5"
@@ -2628,6 +3278,17 @@ dependencies = [
2628 "wasm-bindgen",
3278 "wasm-bindgen",
2629]
3279]
2630
3280
3281[[package]]
3282name = "v_frame"
3283version = "0.3.9"
3284source = "registry+https://github.com/rust-lang/crates.io-index"
3285checksum = "666b7727c8875d6ab5db9533418d7c764233ac9c0cff1d469aec8fa127597be2"
3286dependencies = [
3287 "aligned-vec",
3288 "num-traits",
3289 "wasm-bindgen",
3290]
3291
2631[[package]]
3292[[package]]
2632name = "version_check"
3293name = "version_check"
2633version = "0.9.5"
3294version = "0.9.5"
@@ -3183,6 +3844,12 @@ version = "0.8.28"
3183source = "registry+https://github.com/rust-lang/crates.io-index"
3844source = "registry+https://github.com/rust-lang/crates.io-index"
3184checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f"
3845checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f"
3185
3846
3847[[package]]
3848name = "y4m"
3849version = "0.8.0"
3850source = "registry+https://github.com/rust-lang/crates.io-index"
3851checksum = "7a5a4b21e1a62b67a2970e6831bc091d7b87e119e7f9791aef9702e3bef04448"
3852
3186[[package]]
3853[[package]]
3187name = "yoke"
3854name = "yoke"
3188version = "0.8.3"
3855version = "0.8.3"
@@ -3353,6 +4020,15 @@ version = "0.5.1"
3353source = "registry+https://github.com/rust-lang/crates.io-index"
4020source = "registry+https://github.com/rust-lang/crates.io-index"
3354checksum = "cb8a0807f7c01457d0379ba880ba6322660448ddebc890ce29bb64da71fb40f9"
4021checksum = "cb8a0807f7c01457d0379ba880ba6322660448ddebc890ce29bb64da71fb40f9"
3355
4022
4023[[package]]
4024name = "zune-inflate"
4025version = "0.2.54"
4026source = "registry+https://github.com/rust-lang/crates.io-index"
4027checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02"
4028dependencies = [
4029 "simd-adler32",
4030]
4031
3356[[package]]
4032[[package]]
3357name = "zune-jpeg"
4033name = "zune-jpeg"
3358version = "0.5.15"
4034version = "0.5.15"
Cargo.toml +3 −0
@@ -13,6 +13,9 @@ serde_json = "1"
13 13 serialport = "4"
14 14 image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "bmp"] }
15 15 rfd = "0.15"
16 clap = { version = "4", features = ["derive"] }
17 barcoders = { version = "2", default-features = false, features = ["image", "std"] }
18 qrcode = "0.14"
16 19
17 20 [dev-dependencies]
18 21 tempfile = "3"
@@ -13,6 +13,9 @@ serde_json = "1"
13serialport = "4"
13serialport = "4"
14image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "bmp"] }
14image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "bmp"] }
15rfd = "0.15"
15rfd = "0.15"
16clap = { version = "4", features = ["derive"] }
17barcoders = { version = "2", default-features = false, features = ["image", "std"] }
18qrcode = "0.14"
16
19
17[dev-dependencies]
20[dev-dependencies]
18tempfile = "3"
21tempfile = "3"
README.md +19 −1
@@ -11,11 +11,25 @@ Cross-platform designer for POS (point-of-sale) receipt documents. Edit template
11 11 ## Build and run
12 12
13 13 ```bash
14 cargo test # 20 unit tests
14 cargo test # 31 unit tests
15 15 cargo run # launch the designer
16 16 cargo build --release
17 17 ```
18 18
19 **Scripts:** `scripts/build-windows.ps1`, `scripts/build-linux.sh` (see [docs/BUILD.md](docs/BUILD.md)).
20
21 ### Command-line printing
22
23 ```bash
24 # Windows
25 posprint print receipt.pos -p COM3 --set StoreName="Shop" --set DocumentNumber=42
26
27 # Linux
28 posprint print receipt.pos -p /dev/ttyUSB0 --set StoreName="Shop" --set DocumentNumber=42
29 ```
30
31 All `${Parameters}` must be supplied via `--set NAME=VALUE` or the command fails.
32
19 33 **Linux:** add your user to the `dialout` group for USB-serial printer access.
20 34
21 35 ## Releases (GitLab CI)
@@ -46,6 +60,9 @@ Tag a version (e.g. `v0.1.0`) to trigger release builds.
46 60 | `serialport` | USB-serial printer I/O |
47 61 | `image` | Load PNG/JPEG for `@image` |
48 62 | `rfd` | Native open/save dialogs |
63 | `barcoders` | Raster barcode rendering |
64 | `qrcode` | Raster QR rendering |
65 | `clap` | CLI `print` subcommand |
49 66
50 67 ESC/POS encoding is implemented in-tree.
51 68
@@ -60,6 +77,7 @@ ESC/POS encoding is implemented in-tree.
60 77 | [DSL-SPEC.md](docs/DSL-SPEC.md) | Document markup language (`.pos` body syntax) |
61 78 | [FILE-FORMAT.md](docs/FILE-FORMAT.md) | `.pos` file envelope (metadata + body) |
62 79 | [PRINTING.md](docs/PRINTING.md) | Printer discovery, transport, ESC/POS pipeline |
80 | [BUILD.md](docs/BUILD.md) | Local build scripts and Linux package formats |
63 81
64 82 Documentation must stay aligned with the codebase; see `.cursor/rules/documentation.mdc`.
65 83
@@ -11,11 +11,25 @@ Cross-platform designer for POS (point-of-sale) receipt documents. Edit template
11## Build and run
11## Build and run
12
12
13```bash
13```bash
14cargo test # 20 unit tests
14cargo test # 31 unit tests
15cargo run # launch the designer
15cargo run # launch the designer
16cargo build --release
16cargo build --release
17```
17```
18
18
19**Scripts:** `scripts/build-windows.ps1`, `scripts/build-linux.sh` (see [docs/BUILD.md](docs/BUILD.md)).
20
21### Command-line printing
22
23```bash
24# Windows
25posprint print receipt.pos -p COM3 --set StoreName="Shop" --set DocumentNumber=42
26
27# Linux
28posprint print receipt.pos -p /dev/ttyUSB0 --set StoreName="Shop" --set DocumentNumber=42
29```
30
31All `${Parameters}` must be supplied via `--set NAME=VALUE` or the command fails.
32
19**Linux:** add your user to the `dialout` group for USB-serial printer access.
33**Linux:** add your user to the `dialout` group for USB-serial printer access.
20
34
21## Releases (GitLab CI)
35## Releases (GitLab CI)
@@ -46,6 +60,9 @@ Tag a version (e.g. `v0.1.0`) to trigger release builds.
46| `serialport` | USB-serial printer I/O |
60| `serialport` | USB-serial printer I/O |
47| `image` | Load PNG/JPEG for `@image` |
61| `image` | Load PNG/JPEG for `@image` |
48| `rfd` | Native open/save dialogs |
62| `rfd` | Native open/save dialogs |
63| `barcoders` | Raster barcode rendering |
64| `qrcode` | Raster QR rendering |
65| `clap` | CLI `print` subcommand |
49
66
50ESC/POS encoding is implemented in-tree.
67ESC/POS encoding is implemented in-tree.
51
68
@@ -60,6 +77,7 @@ ESC/POS encoding is implemented in-tree.
60| [DSL-SPEC.md](docs/DSL-SPEC.md) | Document markup language (`.pos` body syntax) |
77| [DSL-SPEC.md](docs/DSL-SPEC.md) | Document markup language (`.pos` body syntax) |
61| [FILE-FORMAT.md](docs/FILE-FORMAT.md) | `.pos` file envelope (metadata + body) |
78| [FILE-FORMAT.md](docs/FILE-FORMAT.md) | `.pos` file envelope (metadata + body) |
62| [PRINTING.md](docs/PRINTING.md) | Printer discovery, transport, ESC/POS pipeline |
79| [PRINTING.md](docs/PRINTING.md) | Printer discovery, transport, ESC/POS pipeline |
80| [BUILD.md](docs/BUILD.md) | Local build scripts and Linux package formats |
63
81
64Documentation must stay aligned with the codebase; see `.cursor/rules/documentation.mdc`.
82Documentation must stay aligned with the codebase; see `.cursor/rules/documentation.mdc`.
65
83
docs/BUILD.md added +62 −0
@@ -0,0 +1,62 @@
1 # Build scripts
2
3 Local release builds for Windows and Linux.
4
5 ## Windows
6
7 ```powershell
8 .\scripts\build-windows.ps1
9 ```
10
11 Output: `target\release\posprint.exe`
12
13 Options:
14
15 ```powershell
16 .\scripts\build-windows.ps1 -Deb:$false # exe only (default)
17 ```
18
19 ## Linux
20
21 ```bash
22 chmod +x scripts/build-linux.sh
23 ./scripts/build-linux.sh # release binary
24 ./scripts/build-linux.sh --deb # binary + .deb package
25 ```
26
27 Outputs:
28
29 | Artifact | Path |
30 |----------|------|
31 | Binary | `target/release/posprint` |
32 | Debian package | `target/debian/*.deb` |
33
34 ### Linux targets we support
35
36 | Format | Distros | Notes |
37 |--------|---------|-------|
38 | **`.deb`** | Debian, Ubuntu, Mint, Pop!_OS, etc. | **Recommended** for apt-based systems; produced by `cargo-deb` |
39 | **Raw binary** | Any x86_64 Linux | Copy `target/release/posprint`; needs X11/Wayland libs at runtime |
40 | **`.rpm`** | Fedora, RHEL, openSUSE | Not automated yet; build binary and wrap with `fpm` if needed |
41 | **AppImage** | Universal | Not automated yet; good for portable distribution |
42
43 **Architecture:** `x86_64` (amd64) only in CI and build scripts today.
44
45 ### Linux build dependencies (Debian/Ubuntu)
46
47 ```bash
48 sudo apt-get install -y build-essential pkg-config \
49 libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
50 ```
51
52 For `.deb`:
53
54 ```bash
55 cargo install cargo-deb --locked
56 ```
57
58 ## Tests before release
59
60 ```bash
61 cargo test --release
62 ```
@@ -0,0 +1,62 @@
1# Build scripts
2
3Local release builds for Windows and Linux.
4
5## Windows
6
7```powershell
8.\scripts\build-windows.ps1
9```
10
11Output: `target\release\posprint.exe`
12
13Options:
14
15```powershell
16.\scripts\build-windows.ps1 -Deb:$false # exe only (default)
17```
18
19## Linux
20
21```bash
22chmod +x scripts/build-linux.sh
23./scripts/build-linux.sh # release binary
24./scripts/build-linux.sh --deb # binary + .deb package
25```
26
27Outputs:
28
29| Artifact | Path |
30|----------|------|
31| Binary | `target/release/posprint` |
32| Debian package | `target/debian/*.deb` |
33
34### Linux targets we support
35
36| Format | Distros | Notes |
37|--------|---------|-------|
38| **`.deb`** | Debian, Ubuntu, Mint, Pop!_OS, etc. | **Recommended** for apt-based systems; produced by `cargo-deb` |
39| **Raw binary** | Any x86_64 Linux | Copy `target/release/posprint`; needs X11/Wayland libs at runtime |
40| **`.rpm`** | Fedora, RHEL, openSUSE | Not automated yet; build binary and wrap with `fpm` if needed |
41| **AppImage** | Universal | Not automated yet; good for portable distribution |
42
43**Architecture:** `x86_64` (amd64) only in CI and build scripts today.
44
45### Linux build dependencies (Debian/Ubuntu)
46
47```bash
48sudo apt-get install -y build-essential pkg-config \
49 libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
50```
51
52For `.deb`:
53
54```bash
55cargo install cargo-deb --locked
56```
57
58## Tests before release
59
60```bash
61cargo test --release
62```
docs/HELP-CLI-LINUX.md added +66 −0
@@ -0,0 +1,66 @@
1 # Command-line printing (Linux)
2
3 Print a `.pos` template without opening the GUI.
4
5 ## Syntax
6
7 ```bash
8 posprint print <file.pos> --printer <DEVICE> --set Name=Value [--set Other=Value ...]
9 ```
10
11 Short form:
12
13 ```bash
14 posprint print receipt.pos -p /dev/ttyUSB0 --set StoreName="My Shop" --set DocumentNumber=1001
15 ```
16
17 ## Rules
18
19 - **`--printer` / `-p`** (required): serial device path, e.g. `/dev/ttyUSB0`, `/dev/ttyACM0`.
20 - **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` in the template.
21 - If any `${Name}` is missing or empty, the command **fails** and lists missing parameters.
22 - The GUI is not started when using the `print` subcommand.
23
24 ## Permissions
25
26 Your user must be in the **`dialout`** group:
27
28 ```bash
29 sudo usermod -aG dialout "$USER"
30 # log out and back in
31 groups
32 ```
33
34 ## Examples
35
36 ```bash
37 posprint print ~/receipts/sale.pos -p /dev/ttyUSB0 \
38 --set StoreName="Corner Cafe" \
39 --set DocumentNumber=42 \
40 --set Date=2026-07-15 \
41 --set GrandTotal=19.99
42 ```
43
44 ## Printer device
45
46 ```bash
47 ls -l /dev/ttyUSB* /dev/ttyACM* 2>/dev/null
48 ```
49
50 Use the device node shown when the printer is connected.
51
52 ## Exit codes
53
54 | Code | Meaning |
55 |------|---------|
56 | `0` | Printed successfully |
57 | `1` | Error (missing parameters, parse error, permission denied, etc.) |
58
59 ## Help
60
61 ```bash
62 posprint print --help
63 posprint --help
64 ```
65
66 Launch the graphical designer by running `posprint` with **no** subcommand.
@@ -0,0 +1,66 @@
1# Command-line printing (Linux)
2
3Print a `.pos` template without opening the GUI.
4
5## Syntax
6
7```bash
8posprint print <file.pos> --printer <DEVICE> --set Name=Value [--set Other=Value ...]
9```
10
11Short form:
12
13```bash
14posprint print receipt.pos -p /dev/ttyUSB0 --set StoreName="My Shop" --set DocumentNumber=1001
15```
16
17## Rules
18
19- **`--printer` / `-p`** (required): serial device path, e.g. `/dev/ttyUSB0`, `/dev/ttyACM0`.
20- **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` in the template.
21- If any `${Name}` is missing or empty, the command **fails** and lists missing parameters.
22- The GUI is not started when using the `print` subcommand.
23
24## Permissions
25
26Your user must be in the **`dialout`** group:
27
28```bash
29sudo usermod -aG dialout "$USER"
30# log out and back in
31groups
32```
33
34## Examples
35
36```bash
37posprint print ~/receipts/sale.pos -p /dev/ttyUSB0 \
38 --set StoreName="Corner Cafe" \
39 --set DocumentNumber=42 \
40 --set Date=2026-07-15 \
41 --set GrandTotal=19.99
42```
43
44## Printer device
45
46```bash
47ls -l /dev/ttyUSB* /dev/ttyACM* 2>/dev/null
48```
49
50Use the device node shown when the printer is connected.
51
52## Exit codes
53
54| Code | Meaning |
55|------|---------|
56| `0` | Printed successfully |
57| `1` | Error (missing parameters, parse error, permission denied, etc.) |
58
59## Help
60
61```bash
62posprint print --help
63posprint --help
64```
65
66Launch the graphical designer by running `posprint` with **no** subcommand.
docs/HELP-CLI-WINDOWS.md added +56 −0
@@ -0,0 +1,56 @@
1 # Command-line printing (Windows)
2
3 Print a `.pos` template without opening the GUI.
4
5 ## Syntax
6
7 ```powershell
8 posprint print <file.pos> --printer <PORT> --set Name=Value [--set Other=Value ...]
9 ```
10
11 Short form:
12
13 ```powershell
14 posprint print receipt.pos -p COM3 --set StoreName="My Shop" --set DocumentNumber=1001
15 ```
16
17 ## Rules
18
19 - **`--printer` / `-p`** (required): USB-serial port name, e.g. `COM3`, `COM4`.
20 - **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` in the template.
21 - If any `${Name}` is missing or empty, the command **fails** and lists missing parameters.
22 - The GUI is not started when using the `print` subcommand.
23
24 ## Examples
25
26 List required parameters by opening the template in the designer, or inspect the `${...}` tokens in the file body.
27
28 ```powershell
29 posprint print C:\receipts\sale.pos -p COM3 `
30 --set StoreName="Corner Cafe" `
31 --set DocumentNumber=42 `
32 --set Date=2026-07-15 `
33 --set GrandTotal=19.99
34 ```
35
36 ## Printer port
37
38 - Open **Device Manager → Ports (COM & LPT)** to find the printer COM port.
39 - Install the USB-serial driver if the device is not listed.
40 - Close other programs using the same COM port before printing.
41
42 ## Exit codes
43
44 | Code | Meaning |
45 |------|---------|
46 | `0` | Printed successfully |
47 | `1` | Error (missing parameters, parse error, port error, etc.) |
48
49 ## Help
50
51 ```powershell
52 posprint print --help
53 posprint --help
54 ```
55
56 Launch the graphical designer by running `posprint` with **no** subcommand.
@@ -0,0 +1,56 @@
1# Command-line printing (Windows)
2
3Print a `.pos` template without opening the GUI.
4
5## Syntax
6
7```powershell
8posprint print <file.pos> --printer <PORT> --set Name=Value [--set Other=Value ...]
9```
10
11Short form:
12
13```powershell
14posprint print receipt.pos -p COM3 --set StoreName="My Shop" --set DocumentNumber=1001
15```
16
17## Rules
18
19- **`--printer` / `-p`** (required): USB-serial port name, e.g. `COM3`, `COM4`.
20- **`--set NAME=VALUE`** (required for every parameter): one flag per `${Name}` in the template.
21- If any `${Name}` is missing or empty, the command **fails** and lists missing parameters.
22- The GUI is not started when using the `print` subcommand.
23
24## Examples
25
26List required parameters by opening the template in the designer, or inspect the `${...}` tokens in the file body.
27
28```powershell
29posprint print C:\receipts\sale.pos -p COM3 `
30 --set StoreName="Corner Cafe" `
31 --set DocumentNumber=42 `
32 --set Date=2026-07-15 `
33 --set GrandTotal=19.99
34```
35
36## Printer port
37
38- Open **Device Manager → Ports (COM & LPT)** to find the printer COM port.
39- Install the USB-serial driver if the device is not listed.
40- Close other programs using the same COM port before printing.
41
42## Exit codes
43
44| Code | Meaning |
45|------|---------|
46| `0` | Printed successfully |
47| `1` | Error (missing parameters, parse error, port error, etc.) |
48
49## Help
50
51```powershell
52posprint print --help
53posprint --help
54```
55
56Launch the graphical designer by running `posprint` with **no** subcommand.
docs/HELP.md +66 −77
@@ -19,8 +19,14 @@ Built-in reference for the template editor and POS markup language.
19 19 | **New** | Empty template with defaults |
20 20 | **Open** | Load a `.pos` file |
21 21 | **Save / Save As** | Write JSON `.pos` file (metadata + body) |
22 | **Insert** | Menu to insert images, barcodes, QR codes, `@feed`, `@cut` |
22 23 | **Print** | Substitute parameters, pick USB printer, send ESC/POS bytes |
23 24
25 ## Editor assistance
26
27 - Type `@` at the start of a line to see **directive autocomplete** (`feed`, `cut`, `image`, `barcode`, `qr`).
28 - Use **Insert → Barcode / QR code** to pick native or raster type before inserting a snippet.
29
24 30 ## Page settings
25 31
26 32 | Setting | Description |
@@ -40,26 +46,16 @@ A template is plain text: paragraphs, headings, directives, and inline markup.
40 46
41 47 Consecutive non-empty lines form one paragraph.
42 48
43 ```markdown
44 Thank you for your visit!
45 Please come again.
46 ```
47
48 49 ### Headings
49 50
50 51 ```markdown
51 # Large heading (store name)
52 ## Bold heading (section title)
52 # Large heading
53 ## Bold heading
53 54 ```
54 55
55 56 ### Alignment
56 57
57 Prefix a paragraph with `:left:`, `:center:`, or `:right:` (default is left).
58
59 ```markdown
60 :center:
61 Your Store Name
62 ```
58 `:left:`, `:center:`, or `:right:` before a paragraph.
63 59
64 60 ### Inline markup
65 61
@@ -76,10 +72,10 @@ Your Store Name
76 72 ---
77 73 ```
78 74
79 ### Comments (not printed)
75 ### Comments
80 76
81 77 ```markdown
82 <!-- note to designer only -->
78 <!-- not printed -->
83 79 ```
84 80
85 81 ---
@@ -88,74 +84,88 @@ Your Store Name
88 84
89 85 Directives start with `@` at the beginning of a line.
90 86
91 ### Paper feed
87 ### Paper feed / cut
92 88
93 89 ```markdown
94 90 @feed 3
91 @cut
95 92 ```
96 93
97 Feeds three blank lines.
98
99 ### Cut paper
94 ### Image
100 95
101 96 ```markdown
102 @cut
97 @image logo.png
98 @image ${LogoPath} width=50% align=center
103 99 ```
104 100
105 Partial cut (if the printer supports it).
101 ### Barcode
106 102
107 ### Image
103 **Native** (printer draws barcode via ESC/POS):
108 104
109 105 ```markdown
110 @image logo.png
111 @image ${LogoPath} width=50%
112 @image promo.png width=384 align=center
106 @barcode CODE128 ${OrderId}
107 @barcode UPC-A 012345678905
108 @barcode ITF 12345678 height=80
113 109 ```
114 110
111 **Raster** (rendered as bitmap — works with any symbology below):
112
113 ```markdown
114 @barcode RASTER CODE128 ${OrderId}
115 @barcode RASTER CODE93 ABC-1234
116 ```
117
118 | Native symbology | Notes |
119 |----------------|-------|
120 | `CODE128` | Alphanumeric |
121 | `EAN13`, `EAN8` | Numeric |
122 | `CODE39` | Alphanumeric |
123 | `UPC-A`, `UPC-E` | Numeric |
124 | `ITF` | Interleaved 2 of 5; even digit count |
125 | `CODABAR` | Numeric + A-D start/stop |
126
127 | Raster-only symbology | Use `RASTER` prefix |
128 |-----------------------|---------------------|
129 | `CODE93`, `CODE11` | No native ESC/POS in firmware |
130
115 131 | Attribute | Description |
116 132 |-----------|-------------|
117 | Path | File relative to the `.pos` file, or `${Parameter}` |
118 | `width` | `NN%` of printable width or dots (e.g. `384`) |
133 | `height` | Height in dots (default `64`; raster PNG height) |
119 134 | `align` | `left`, `center`, `right` |
135 | `show_text` | Native only: human-readable text under barcode |
120 136
121 ### Barcode
137 ### QR code
138
139 **Native** (ESC/POS QR, model 2):
122 140
123 141 ```markdown
124 @barcode CODE128 ${OrderId}
125 @barcode EAN13 5901234123457 height=80 show_text=true
142 @qr https://example.com/${Id}
143 @qr ${Url} size=6 ecc=H align=center
126 144 ```
127 145
128 | Field | Values |
129 |-------|--------|
130 | Symbology | `CODE128`, `EAN13`, `EAN8`, `CODE39` |
131 | Data | Literal text or `${Parameter}` |
132 | `height` | Height in dots (default `64`) |
133 | `align` | `left`, `center`, `right` |
134 | `show_text` | `true` / `false` — human-readable text under barcode |
135
136 ### QR code
146 **Raster** (bitmap; supports QR versions 1–40):
137 147
138 148 ```markdown
139 @qr https://example.com/receipt/${DocumentNumber}
140 @qr ${PaymentUrl} size=6 ecc=M align=center
149 @qr RASTER https://example.com/${Id}
150 @qr RASTER ${Url} version=5 scale=4 ecc=M
141 151 ```
142 152
143 | Attribute | Description |
144 |-----------|-------------|
145 | Data | URL or text; may include `${Parameter}` |
146 | `size` | Module size 1–16 (default `4`) |
147 | `ecc` | Error correction: `L`, `M`, `Q`, `H` |
148 | `align` | `left`, `center`, `right` |
153 | Attribute | Native | Raster |
154 |-----------|--------|--------|
155 | `size` | Module dot size 1–16 | — |
156 | `scale` | — | Pixels per module (default `4`) |
157 | `version` | — | QR version 1–40 (optional; auto if omitted) |
158 | `ecc` | `L`, `M`, `Q`, `H` | Same |
159 | `align` | `left`, `center`, `right` | Same |
149 160
150 161 ---
151 162
152 163 ## Parameters
153 164
154 Write `${ParameterName}` anywhere in text, barcode data, QR data, or image paths.
165 `${ParameterName}` in text, barcode data, QR data, or image paths.
155 166
156 - Names: letters, digits, underscore; must start with a letter or `_`.
157 - **Same name → one input** at print time; all occurrences receive the same value.
158 - The print dialog pre-fills values from the last print session.
167 - Same name → **one input** at print time (GUI or CLI).
168 - CLI requires **every** parameter via `--set Name=Value`.
159 169
160 170 ---
161 171
@@ -165,46 +175,25 @@ Write `${ParameterName}` anywhere in text, barcode data, QR data, or image paths
165 175 # ${StoreName}
166 176 :center:
167 177
168 123 Main Street
169
170 ---
171 178 Receipt: ${DocumentNumber}
172 Date: ${Date}
173
174 ${LineItems}
175
176 ---
177 :right:
178 **TOTAL: ${GrandTotal}**
179 179
180 180 @barcode CODE128 ${DocumentNumber}
181 @feed 2
182 @qr https://shop.example.com/r/${DocumentNumber}
181 @qr RASTER https://shop.example.com/r/${DocumentNumber} scale=4
183 182
184 Thank you!
185 183 @feed 4
186 184 @cut
187 185 ```
188 186
189 187 ---
190 188
191 ## Printing (USB)
189 ## GUI printing (USB)
192 190
193 1. Click **Print**.
194 2. Enter parameter values in the dialog.
195 3. Choose a USB serial printer from the list (refresh if needed).
196 4. The app sends raw ESC/POS bytes directly to the port (no system print spooler).
191 1. **Print** → enter parameters → choose serial port → **Print**.
197 192
198 **Linux:** your user must be in the `dialout` group to access serial devices.
199
200 **Windows:** the printer usually appears as `COM3`, `COM4`, etc.
193 **Linux:** `dialout` group. **Windows:** printer appears as `COMx`.
201 194
202 195 ---
203 196
204 197 ## `.pos` file format
205 198
206 JSON file with extension `.pos`:
207
208 - `version` — format version (currently `1`)
209 - `metadata` — page width, preview mode, code page, etc.
210 - `body` — template source string
199 JSON with `version`, `metadata`, and `body` (template source).
@@ -19,8 +19,14 @@ Built-in reference for the template editor and POS markup language.
19| **New** | Empty template with defaults |
19| **New** | Empty template with defaults |
20| **Open** | Load a `.pos` file |
20| **Open** | Load a `.pos` file |
21| **Save / Save As** | Write JSON `.pos` file (metadata + body) |
21| **Save / Save As** | Write JSON `.pos` file (metadata + body) |
22| **Insert** | Menu to insert images, barcodes, QR codes, `@feed`, `@cut` |
22| **Print** | Substitute parameters, pick USB printer, send ESC/POS bytes |
23| **Print** | Substitute parameters, pick USB printer, send ESC/POS bytes |
23
24
25## Editor assistance
26
27- Type `@` at the start of a line to see **directive autocomplete** (`feed`, `cut`, `image`, `barcode`, `qr`).
28- Use **Insert → Barcode / QR code** to pick native or raster type before inserting a snippet.
29
24## Page settings
30## Page settings
25
31
26| Setting | Description |
32| Setting | Description |
@@ -40,26 +46,16 @@ A template is plain text: paragraphs, headings, directives, and inline markup.
40
46
41Consecutive non-empty lines form one paragraph.
47Consecutive non-empty lines form one paragraph.
42
48
43```markdown
44Thank you for your visit!
45Please come again.
46```
47
48### Headings
49### Headings
49
50
50```markdown
51```markdown
51# Large heading (store name)
52# Large heading
52## Bold heading (section title)
53## Bold heading
53```
54```
54
55
55### Alignment
56### Alignment
56
57
57Prefix a paragraph with `:left:`, `:center:`, or `:right:` (default is left).
58`:left:`, `:center:`, or `:right:` before a paragraph.
58
59```markdown
60:center:
61Your Store Name
62```
63
59
64### Inline markup
60### Inline markup
65
61
@@ -76,10 +72,10 @@ Your Store Name
76---
72---
77```
73```
78
74
79### Comments (not printed)
75### Comments
80
76
81```markdown
77```markdown
82<!-- note to designer only -->
78<!-- not printed -->
83```
79```
84
80
85---
81---
@@ -88,74 +84,88 @@ Your Store Name
88
84
89Directives start with `@` at the beginning of a line.
85Directives start with `@` at the beginning of a line.
90
86
91### Paper feed
87### Paper feed / cut
92
88
93```markdown
89```markdown
94@feed 3
90@feed 3
91@cut
95```
92```
96
93
97Feeds three blank lines.
94### Image
98
99### Cut paper
100
95
101```markdown
96```markdown
102@cut
97@image logo.png
98@image ${LogoPath} width=50% align=center
103```
99```
104
100
105Partial cut (if the printer supports it).
101### Barcode
106
102
107### Image
103**Native** (printer draws barcode via ESC/POS):
108
104
109```markdown
105```markdown
110@image logo.png
106@barcode CODE128 ${OrderId}
111@image ${LogoPath} width=50%
107@barcode UPC-A 012345678905
112@image promo.png width=384 align=center
108@barcode ITF 12345678 height=80
113```
109```
114
110
111**Raster** (rendered as bitmap — works with any symbology below):
112
113```markdown
114@barcode RASTER CODE128 ${OrderId}
115@barcode RASTER CODE93 ABC-1234
116```
117
118| Native symbology | Notes |
119|----------------|-------|
120| `CODE128` | Alphanumeric |
121| `EAN13`, `EAN8` | Numeric |
122| `CODE39` | Alphanumeric |
123| `UPC-A`, `UPC-E` | Numeric |
124| `ITF` | Interleaved 2 of 5; even digit count |
125| `CODABAR` | Numeric + A-D start/stop |
126
127| Raster-only symbology | Use `RASTER` prefix |
128|-----------------------|---------------------|
129| `CODE93`, `CODE11` | No native ESC/POS in firmware |
130
115| Attribute | Description |
131| Attribute | Description |
116|-----------|-------------|
132|-----------|-------------|
117| Path | File relative to the `.pos` file, or `${Parameter}` |
133| `height` | Height in dots (default `64`; raster PNG height) |
118| `width` | `NN%` of printable width or dots (e.g. `384`) |
119| `align` | `left`, `center`, `right` |
134| `align` | `left`, `center`, `right` |
135| `show_text` | Native only: human-readable text under barcode |
120
136
121### Barcode
137### QR code
138
139**Native** (ESC/POS QR, model 2):
122
140
123```markdown
141```markdown
124@barcode CODE128 ${OrderId}
142@qr https://example.com/${Id}
125@barcode EAN13 5901234123457 height=80 show_text=true
143@qr ${Url} size=6 ecc=H align=center
126```
144```
127
145
128| Field | Values |
146**Raster** (bitmap; supports QR versions 1–40):
129|-------|--------|
130| Symbology | `CODE128`, `EAN13`, `EAN8`, `CODE39` |
131| Data | Literal text or `${Parameter}` |
132| `height` | Height in dots (default `64`) |
133| `align` | `left`, `center`, `right` |
134| `show_text` | `true` / `false` — human-readable text under barcode |
135
136### QR code
137
147
138```markdown
148```markdown
139@qr https://example.com/receipt/${DocumentNumber}
149@qr RASTER https://example.com/${Id}
140@qr ${PaymentUrl} size=6 ecc=M align=center
150@qr RASTER ${Url} version=5 scale=4 ecc=M
141```
151```
142
152
143| Attribute | Description |
153| Attribute | Native | Raster |
144|-----------|-------------|
154|-----------|--------|--------|
145| Data | URL or text; may include `${Parameter}` |
155| `size` | Module dot size 1–16 | — |
146| `size` | Module size 1–16 (default `4`) |
156| `scale` | — | Pixels per module (default `4`) |
147| `ecc` | Error correction: `L`, `M`, `Q`, `H` |
157| `version` | — | QR version 1–40 (optional; auto if omitted) |
148| `align` | `left`, `center`, `right` |
158| `ecc` | `L`, `M`, `Q`, `H` | Same |
159| `align` | `left`, `center`, `right` | Same |
149
160
150---
161---
151
162
152## Parameters
163## Parameters
153
164
154Write `${ParameterName}` anywhere in text, barcode data, QR data, or image paths.
165`${ParameterName}` in text, barcode data, QR data, or image paths.
155
166
156- Names: letters, digits, underscore; must start with a letter or `_`.
167- Same name → **one input** at print time (GUI or CLI).
157- **Same name → one input** at print time; all occurrences receive the same value.
168- CLI requires **every** parameter via `--set Name=Value`.
158- The print dialog pre-fills values from the last print session.
159
169
160---
170---
161
171
@@ -165,46 +175,25 @@ Write `${ParameterName}` anywhere in text, barcode data, QR data, or image paths
165# ${StoreName}
175# ${StoreName}
166:center:
176:center:
167
177
168123 Main Street
169
170---
171Receipt: ${DocumentNumber}
178Receipt: ${DocumentNumber}
172Date: ${Date}
173
174${LineItems}
175
176---
177:right:
178**TOTAL: ${GrandTotal}**
179
179
180@barcode CODE128 ${DocumentNumber}
180@barcode CODE128 ${DocumentNumber}
181@feed 2
181@qr RASTER https://shop.example.com/r/${DocumentNumber} scale=4
182@qr https://shop.example.com/r/${DocumentNumber}
183
182
184Thank you!
185@feed 4
183@feed 4
186@cut
184@cut
187```
185```
188
186
189---
187---
190
188
191## Printing (USB)
189## GUI printing (USB)
192
190
1931. Click **Print**.
1911. **Print** → enter parameters → choose serial port → **Print**.
1942. Enter parameter values in the dialog.
1953. Choose a USB serial printer from the list (refresh if needed).
1964. The app sends raw ESC/POS bytes directly to the port (no system print spooler).
197
192
198**Linux:** your user must be in the `dialout` group to access serial devices.
193**Linux:** `dialout` group. **Windows:** printer appears as `COMx`.
199
200**Windows:** the printer usually appears as `COM3`, `COM4`, etc.
201
194
202---
195---
203
196
204## `.pos` file format
197## `.pos` file format
205
198
206JSON file with extension `.pos`:
199JSON with `version`, `metadata`, and `body` (template source).
207
208- `version` — format version (currently `1`)
209- `metadata` — page width, preview mode, code page, etc.
210- `body` — template source string
scripts/build-linux.sh added +37 −0
@@ -0,0 +1,37 @@
1 #!/usr/bin/env bash
2 set -euo pipefail
3
4 ROOT="$(cd "$(dirname "$0")/.." && pwd)"
5 cd "$ROOT"
6
7 BUILD_DEB=false
8 SKIP_TESTS=false
9
10 for arg in "$@"; do
11 case "$arg" in
12 --deb) BUILD_DEB=true ;;
13 --skip-tests) SKIP_TESTS=true ;;
14 *) echo "Unknown option: $arg"; exit 1 ;;
15 esac
16 done
17
18 echo "Building posprint for Linux (x86_64)..."
19
20 if [[ "$SKIP_TESTS" != "true" ]]; then
21 cargo test
22 fi
23
24 cargo build --release
25 BIN="$ROOT/target/release/posprint"
26 echo "OK: $BIN"
27 ls -lh "$BIN"
28
29 if [[ "$BUILD_DEB" == "true" ]]; then
30 if ! command -v cargo-deb &>/dev/null; then
31 echo "Installing cargo-deb..."
32 cargo install cargo-deb --locked
33 fi
34 cargo deb
35 echo "Debian packages:"
36 ls -lh "$ROOT/target/debian/"*.deb
37 fi
@@ -0,0 +1,37 @@
1#!/usr/bin/env bash
2set -euo pipefail
3
4ROOT="$(cd "$(dirname "$0")/.." && pwd)"
5cd "$ROOT"
6
7BUILD_DEB=false
8SKIP_TESTS=false
9
10for arg in "$@"; do
11 case "$arg" in
12 --deb) BUILD_DEB=true ;;
13 --skip-tests) SKIP_TESTS=true ;;
14 *) echo "Unknown option: $arg"; exit 1 ;;
15 esac
16done
17
18echo "Building posprint for Linux (x86_64)..."
19
20if [[ "$SKIP_TESTS" != "true" ]]; then
21 cargo test
22fi
23
24cargo build --release
25BIN="$ROOT/target/release/posprint"
26echo "OK: $BIN"
27ls -lh "$BIN"
28
29if [[ "$BUILD_DEB" == "true" ]]; then
30 if ! command -v cargo-deb &>/dev/null; then
31 echo "Installing cargo-deb..."
32 cargo install cargo-deb --locked
33 fi
34 cargo deb
35 echo "Debian packages:"
36 ls -lh "$ROOT/target/debian/"*.deb
37fi
scripts/build-windows.ps1 added +26 −0
@@ -0,0 +1,26 @@
1 #Requires -Version 5.1
2 param(
3 [switch]$SkipTests
4 )
5
6 $ErrorActionPreference = "Stop"
7 $Root = Split-Path -Parent $PSScriptRoot
8 Set-Location $Root
9
10 Write-Host "Building posprint for Windows (x64)..."
11
12 if (-not $SkipTests) {
13 cargo test
14 if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
15 }
16
17 cargo build --release
18 if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
19
20 $exe = Join-Path $Root "target\release\posprint.exe"
21 if (-not (Test-Path $exe)) {
22 Write-Error "Build failed: $exe not found"
23 }
24
25 Write-Host "OK: $exe"
26 Get-Item $exe | Select-Object FullName, Length, LastWriteTime
@@ -0,0 +1,26 @@
1#Requires -Version 5.1
2param(
3 [switch]$SkipTests
4)
5
6$ErrorActionPreference = "Stop"
7$Root = Split-Path -Parent $PSScriptRoot
8Set-Location $Root
9
10Write-Host "Building posprint for Windows (x64)..."
11
12if (-not $SkipTests) {
13 cargo test
14 if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
15}
16
17cargo build --release
18if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
19
20$exe = Join-Path $Root "target\release\posprint.exe"
21if (-not (Test-Path $exe)) {
22 Write-Error "Build failed: $exe not found"
23}
24
25Write-Host "OK: $exe"
26Get-Item $exe | Select-Object FullName, Length, LastWriteTime