Merge main (craft-libs pin f0f9bb38 via #11859) into the eyedropper ring branch

main's pin already contains craft-libs#4276 (EyedropperTool::ring / ::held), so this branch takes
main's Cargo files and drops its own pin move; #17914, which it was stacked on, is closed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
David MannandClaude Opus 5.5 committed 2026-11-29 21:05:55 +01:00
commit 51efd125fe
15 files changed
+529 -147

No files matched your search

Generated
+95 -94
View File
@@ -1365,7 +1365,7 @@ dependencies = [
[[package]]
name = "craft"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-automation",
"craft-behavior",
@@ -1406,7 +1406,7 @@ dependencies = [
[[package]]
name = "craft-affinity"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"crc32fast",
"flate2",
@@ -1427,7 +1427,7 @@ dependencies = [
[[package]]
name = "craft-appkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"block2 0.6.2",
"objc2 0.6.5",
@@ -1438,7 +1438,7 @@ dependencies = [
[[package]]
name = "craft-atomic"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"rustix 1.1.6",
]
@@ -1446,7 +1446,7 @@ dependencies = [
[[package]]
name = "craft-automation"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -1471,7 +1471,7 @@ dependencies = [
[[package]]
name = "craft-behavior"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"accesskit",
"bitflags 2.13.2",
@@ -1489,7 +1489,7 @@ dependencies = [
[[package]]
name = "craft-browse"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-docpath",
@@ -1507,7 +1507,7 @@ dependencies = [
[[package]]
name = "craft-cloud-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"egui",
]
@@ -1515,7 +1515,7 @@ dependencies = [
[[package]]
name = "craft-cms"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"md-5",
"rayon",
@@ -1524,12 +1524,12 @@ dependencies = [
[[package]]
name = "craft-codepage"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
[[package]]
name = "craft-color"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"serde",
]
@@ -1537,7 +1537,7 @@ dependencies = [
[[package]]
name = "craft-color-transform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-cms",
"craft-color",
@@ -1547,7 +1547,7 @@ dependencies = [
[[package]]
name = "craft-color-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-cms",
@@ -1567,7 +1567,7 @@ dependencies = [
[[package]]
name = "craft-control"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-ai-agents",
"craft-atomic",
@@ -1583,7 +1583,7 @@ dependencies = [
[[package]]
name = "craft-control-protocol"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"getrandom 0.3.4",
"serde_json",
@@ -1593,7 +1593,7 @@ dependencies = [
[[package]]
name = "craft-crs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-metadata",
"craft-xml",
@@ -1603,7 +1603,7 @@ dependencies = [
[[package]]
name = "craft-crw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"thiserror 2.0.21",
]
@@ -1611,7 +1611,7 @@ dependencies = [
[[package]]
name = "craft-dds"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"rayon",
]
@@ -1619,7 +1619,7 @@ dependencies = [
[[package]]
name = "craft-develop"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-color",
"craft-color-transform",
@@ -1634,7 +1634,7 @@ dependencies = [
[[package]]
name = "craft-develop-model"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-geom",
"craft-metadata",
@@ -1646,7 +1646,7 @@ dependencies = [
[[package]]
name = "craft-dialogs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"block2 0.6.2",
"craft-appkit",
@@ -1672,7 +1672,7 @@ dependencies = [
[[package]]
name = "craft-docpath"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"serde",
]
@@ -1680,7 +1680,7 @@ dependencies = [
[[package]]
name = "craft-draw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1699,12 +1699,12 @@ dependencies = [
[[package]]
name = "craft-eps"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
[[package]]
name = "craft-file-formats"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-eps",
"craft-idml",
@@ -1722,7 +1722,7 @@ dependencies = [
[[package]]
name = "craft-flags"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-atomic",
"dirs",
@@ -1732,7 +1732,7 @@ dependencies = [
[[package]]
name = "craft-font-catalog"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"fontique",
"harfrust 0.13.3",
@@ -1747,7 +1747,7 @@ dependencies = [
[[package]]
name = "craft-font-manager"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-font-catalog",
@@ -1767,7 +1767,7 @@ dependencies = [
[[package]]
name = "craft-font-os-windows"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"windows-registry",
"windows-sys 0.61.2",
@@ -1776,7 +1776,7 @@ dependencies = [
[[package]]
name = "craft-font-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"cap-primitives",
"craft-atomic",
@@ -1799,12 +1799,12 @@ dependencies = [
[[package]]
name = "craft-fonts-build"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
[[package]]
name = "craft-geom"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"serde",
]
@@ -1812,7 +1812,7 @@ dependencies = [
[[package]]
name = "craft-heif"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"heic-rs",
"rayon",
@@ -1821,7 +1821,7 @@ dependencies = [
[[package]]
name = "craft-host"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"bitflags 2.13.2",
"craft-i18n",
@@ -1834,7 +1834,7 @@ dependencies = [
[[package]]
name = "craft-i18n"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"chrono",
"fixed_decimal",
@@ -1862,7 +1862,7 @@ dependencies = [
[[package]]
name = "craft-idml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-xml",
"craft-zip",
@@ -1872,7 +1872,7 @@ dependencies = [
[[package]]
name = "craft-image-codecs"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-dds",
"craft-heif",
@@ -1900,7 +1900,7 @@ dependencies = [
[[package]]
name = "craft-imaging"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-color-ui",
@@ -1918,12 +1918,12 @@ dependencies = [
[[package]]
name = "craft-ipp"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
[[package]]
name = "craft-jpeg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"thiserror 2.0.21",
]
@@ -1931,7 +1931,7 @@ dependencies = [
[[package]]
name = "craft-keymap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-host",
"craft-i18n",
@@ -1946,7 +1946,7 @@ dependencies = [
[[package]]
name = "craft-kra"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-xml",
"craft-zip",
@@ -1956,7 +1956,7 @@ dependencies = [
[[package]]
name = "craft-layers"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -1970,7 +1970,7 @@ dependencies = [
[[package]]
name = "craft-menu"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-host",
@@ -1988,7 +1988,7 @@ dependencies = [
[[package]]
name = "craft-metadata"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"brotli-decompressor 6.3.2",
"chrono",
@@ -2000,7 +2000,7 @@ dependencies = [
[[package]]
name = "craft-ora"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-xml",
"craft-zip",
@@ -2010,7 +2010,7 @@ dependencies = [
[[package]]
name = "craft-pages"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2026,7 +2026,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-bundle"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"blake3",
"craft-atomic",
@@ -2039,7 +2039,7 @@ dependencies = [
[[package]]
name = "craft-pcraft-format"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"flate2",
"serde",
@@ -2050,7 +2050,7 @@ dependencies = [
[[package]]
name = "craft-pdf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"bytemuck",
"flate2",
@@ -2065,7 +2065,7 @@ dependencies = [
[[package]]
name = "craft-pdn"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -2074,7 +2074,7 @@ dependencies = [
[[package]]
name = "craft-platform"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"async-channel",
"async-io",
@@ -2105,7 +2105,7 @@ dependencies = [
[[package]]
name = "craft-plist"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"thiserror 2.0.21",
]
@@ -2113,7 +2113,7 @@ dependencies = [
[[package]]
name = "craft-print"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2137,7 +2137,7 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"encoding_rs",
"flate2",
@@ -2148,7 +2148,7 @@ dependencies = [
[[package]]
name = "craft-quit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"dispatch2",
"egui",
@@ -2161,7 +2161,7 @@ dependencies = [
[[package]]
name = "craft-raw"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"chrono",
"craft-crw",
@@ -2179,7 +2179,7 @@ dependencies = [
[[package]]
name = "craft-review"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"base64 0.23.1",
"craft-behavior",
@@ -2198,7 +2198,7 @@ dependencies = [
[[package]]
name = "craft-settings"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-atomic",
"craft-host",
@@ -2215,7 +2215,7 @@ dependencies = [
[[package]]
name = "craft-svg"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-image-codecs",
"craft-xml",
@@ -2236,7 +2236,7 @@ dependencies = [
[[package]]
name = "craft-table"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2248,16 +2248,17 @@ dependencies = [
[[package]]
name = "craft-testkit"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"rustix 1.1.6",
"tempfile",
"toml",
]
[[package]]
name = "craft-text"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-font-manager",
@@ -2280,7 +2281,7 @@ dependencies = [
[[package]]
name = "craft-theme"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"bitflags 2.13.2",
"craft-tracked",
@@ -2295,7 +2296,7 @@ dependencies = [
[[package]]
name = "craft-theme-editor"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-theme",
@@ -2306,7 +2307,7 @@ dependencies = [
[[package]]
name = "craft-theme-store"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-atomic",
"craft-behavior",
@@ -2321,7 +2322,7 @@ dependencies = [
[[package]]
name = "craft-tiff"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2331,7 +2332,7 @@ dependencies = [
[[package]]
name = "craft-time"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"serde",
"thiserror 2.0.21",
@@ -2340,7 +2341,7 @@ dependencies = [
[[package]]
name = "craft-timeline"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-keymap",
@@ -2355,7 +2356,7 @@ dependencies = [
[[package]]
name = "craft-tracked"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"serde",
]
@@ -2363,7 +2364,7 @@ dependencies = [
[[package]]
name = "craft-ui"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-cloud-ui",
"craft-ui-canvas",
@@ -2377,7 +2378,7 @@ dependencies = [
[[package]]
name = "craft-ui-canvas"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-i18n",
@@ -2393,7 +2394,7 @@ dependencies = [
[[package]]
name = "craft-ui-contract"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"accesskit",
"craft-behavior",
@@ -2435,7 +2436,7 @@ dependencies = [
[[package]]
name = "craft-ui-macros"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2446,7 +2447,7 @@ dependencies = [
[[package]]
name = "craft-ui-panels"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2464,7 +2465,7 @@ dependencies = [
[[package]]
name = "craft-ui-patterns"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2485,7 +2486,7 @@ dependencies = [
[[package]]
name = "craft-ui-shell"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2505,7 +2506,7 @@ dependencies = [
[[package]]
name = "craft-ui-widgets"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-behavior",
"craft-host",
@@ -2524,7 +2525,7 @@ dependencies = [
[[package]]
name = "craft-update"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"base64 0.22.1",
"chrono",
@@ -2556,7 +2557,7 @@ dependencies = [
[[package]]
name = "craft-win32"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"winsafe",
]
@@ -2564,7 +2565,7 @@ dependencies = [
[[package]]
name = "craft-window"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"craft-appkit",
"craft-atomic",
@@ -2596,7 +2597,7 @@ dependencies = [
[[package]]
name = "craft-xcf"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -2605,7 +2606,7 @@ dependencies = [
[[package]]
name = "craft-xml"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"quick-xml 0.41.0",
"serde",
@@ -2615,7 +2616,7 @@ dependencies = [
[[package]]
name = "craft-zip"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"flate2",
"thiserror 2.0.21",
@@ -4135,7 +4136,7 @@ dependencies = [
[[package]]
name = "hayro"
version = "0.7.1"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"bytemuck",
"hayro-interpret",
@@ -4165,7 +4166,7 @@ dependencies = [
[[package]]
name = "hayro-interpret"
version = "0.7.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"bitflags 2.13.2",
"hayro-cmap",
@@ -4183,7 +4184,7 @@ dependencies = [
[[package]]
name = "hayro-jbig2"
version = "0.3.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"fearless_simd",
"hayro-ccitt",
@@ -4207,7 +4208,7 @@ checksum = "bc2d80da85f31c3fdc0366431f44cfd645a9da1e242ed1f4a61f213d9765660f"
[[package]]
name = "hayro-syntax"
version = "0.7.2"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"flate2",
"hayro-ccitt",
@@ -5300,7 +5301,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
[[package]]
name = "linesweeper"
version = "0.5.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"arrayvec",
"kurbo 0.13.1",
@@ -9810,7 +9811,7 @@ dependencies = [
[[package]]
name = "vello_common"
version = "0.0.8"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"bytemuck",
"fearless_simd",
@@ -9858,7 +9859,7 @@ dependencies = [
[[package]]
name = "vello_cpu"
version = "0.0.8"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
dependencies = [
"bytemuck",
"glifo 0.1.1",
@@ -11504,14 +11505,14 @@ source = "git+https://github.com/storytold/egui.git?rev=14c39fed181756be6f357c28
[[patch.unused]]
name = "hayro-cmap"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
[[patch.unused]]
name = "hayro-postscript"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
[[patch.unused]]
name = "krilla"
version = "0.8.2"
source = "git+https://github.com/storytold/craft-libs?rev=bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc#bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc"
source = "git+https://github.com/storytold/craft-libs?rev=f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa#f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa"
+41 -41
View File
@@ -12,21 +12,21 @@ rust-version = "1.95"
[workspace.dependencies]
# The craft framework through its facade (`craft::ui::…`). The egui `[patch]` below must match
# `craft::egui_fork::REV` (checked by `cargo xtask ci`).
craft = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc", default-features = false }
craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa", default-features = false }
craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
# internal
photocraft-geom = { path = "crates/geom" }
photocraft-color = { path = "crates/color" }
photocraft-raster = { path = "crates/raster" }
photocraft-doc = { path = "crates/doc" }
photocraft-ops = { path = "crates/ops" }
craft-plist = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] }
craft-plist = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] }
photocraft-raw = { path = "crates/raw" }
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
photocraft-compose = { path = "crates/compose" }
photocraft-gpu = { path = "crates/gpu" }
photocraft-paint = { path = "crates/paint" }
@@ -48,36 +48,36 @@ photocraft-ipp = { path = "crates/ipp" }
# external
# ICC colour management: the shared crate (replaces crates/cms; craft-libs#779).
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-print = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-print = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
# HEIC/HEIF: the shared decoder (replaces crates/heif; craft-libs#784).
craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc", features = ["raster", "write-raster"] }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa", features = ["raster", "write-raster"] }
craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
# Keep the shared embedded-image validation API until the framework revision includes it.
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc", features = ["tree-render", "tree-render-system-fonts"] }
craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa", features = ["tree-render", "tree-render-system-fonts"] }
craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
# Camera-field EXIF reader/writer, shared prerequisite craft-libs#1563.
craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
# Interface translations: lookup, fallback, CLDR plurals and language names over the craft-i18n
# catalogs that `crates/ui-egui/build.rs` embeds from `CRAFT_I18N_DIR` (storytold/craft-i18n, at
# the commit in `craft-i18n.rev`). Already in the tree through craft.
craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
# craft-update: app-specific pretend versions apply to startup and manual checks.
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc", features = ["ui"] }
craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa", features = ["ui"] }
thiserror = "2"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
@@ -350,16 +350,16 @@ opt-level = 3
# Keep the complete egui family and native event bridge on reviewed fork commits.
[patch.crates-io]
krilla = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
hayro = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
vello_common = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
krilla = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
hayro = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
vello_common = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
ecolor = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
emath = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
epaint = { git = "https://github.com/storytold/egui.git", rev = "14c39fed181756be6f357c284354e0ab55b64443" }
+26
View File
@@ -24,6 +24,29 @@ pub enum Kerning {
Off,
}
/// Which digits the text's 0–9 are drawn with. The stored text keeps the digits as typed, so a
/// search, a copy and a PSD keep them; only the drawn glyphs change.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize, craft_ui_macros::PlainData)]
pub enum Digits {
/// As typed.
#[default]
AsTyped,
/// Western digits (0–9), also for digits typed in an Indic script.
Western,
/// The digits of the Indic script of the last letter before them in the paragraph; Western
/// after a letter of any other script, or with none before.
Contextual,
Devanagari,
Bengali,
Gurmukhi,
Gujarati,
Odia,
Tamil,
Telugu,
Kannada,
Malayalam,
}
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize, craft_ui_macros::PlainData)]
pub enum Caps {
#[default]
@@ -101,6 +124,8 @@ pub struct CharStyle {
pub variations: Vec<FontVariation>,
/// BCP-47 language tag (affects shaping and line breaking).
pub language: Option<String>,
/// Digit style: which script's digits 0–9 are drawn with.
pub digits: Digits,
/// Vertical type: roman text (Latin, digits) runs rotated 90° clockwise along the column
/// (PSD `BaselineDirection` 2) instead of standing upright one character per em
/// (`BaselineDirection` 1, what Photoshop's Vertical Type tool sets, #9470). CJK text stands
@@ -140,6 +165,7 @@ impl Default for CharStyle {
features: Vec::new(),
variations: Vec::new(),
language: None,
digits: Digits::AsTyped,
rotate_roman: false,
style_sheet: None,
}
+1 -1
View File
@@ -19,7 +19,7 @@ photocraft-geom = { workspace = true }
photocraft-color = { workspace = true }
craft-cms = { workspace = true }
# PCTIP codec from craft-libs#1564; kept at the same shared revision as the workspace.
craft-pcraft-tip = { package = "craft-pcraft-format", git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-pcraft-tip = { package = "craft-pcraft-format", git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
photocraft-raster = { workspace = true }
photocraft-doc = { workspace = true }
photocraft-ops = { workspace = true }
+33 -2
View File
@@ -10,7 +10,7 @@ use std::sync::Arc;
use photocraft_color::{Color, ColorMode, PixelFormat};
use photocraft_doc::text::{
AntiAlias, Caps, CharStyle, FontBaseline, FontFeature, FontVariation, Kerning, Orientation, ParagraphRun, ParagraphStyle, TextAlign, TextDirection,
AntiAlias, Caps, CharStyle, Digits, FontBaseline, FontFeature, FontVariation, Kerning, Orientation, ParagraphRun, ParagraphStyle, TextAlign, TextDirection,
TextRun, TextShape,
};
use photocraft_doc::{Affine, Document, Layer, LayerContent, LayerId, TextLayer};
@@ -141,6 +141,11 @@ pub fn check_size_tracking(p: &Value) -> std::result::Result<(), String> {
{
return Err("baseline must be \"normal\", \"superscript\" or \"subscript\"".into());
}
if let Some(v) = p.get("digits").filter(|v| !v.is_null())
&& v.as_str().and_then(digits_of).is_none()
{
return Err(format!("digits must be one of {DIGIT_NAMES}"));
}
for key in ["horizontalScale", "verticalScale"] {
if let Some(v) = p.get(key) {
match v.as_f64() {
@@ -433,9 +438,35 @@ fn apply_char_features(s: &mut CharStyle, p: &Value) -> bool {
s.language = v.as_str().map(str::to_string);
hit(true);
}
// An unknown value keeps the style (the commands reject it in `check_size_tracking`).
if let Some(d) = p.get("digits").and_then(Value::as_str).and_then(digits_of) {
s.digits = d;
hit(true);
}
any
}
const DIGIT_NAMES: &str = "asTyped, western, contextual, devanagari, bengali, gurmukhi, gujarati, odia, tamil, telugu, kannada, malayalam";
/// The digit style named `v` (the `digits` key of the type commands).
fn digits_of(v: &str) -> Option<Digits> {
Some(match v {
"asTyped" => Digits::AsTyped,
"western" => Digits::Western,
"contextual" => Digits::Contextual,
"devanagari" => Digits::Devanagari,
"bengali" => Digits::Bengali,
"gurmukhi" => Digits::Gurmukhi,
"gujarati" => Digits::Gujarati,
"odia" => Digits::Odia,
"tamil" => Digits::Tamil,
"telugu" => Digits::Telugu,
"kannada" => Digits::Kannada,
"malayalam" => Digits::Malayalam,
_ => return None,
})
}
/// Applies paragraph-style keys from JSON. Returns true if any key was present.
pub fn apply_para_props(s: &mut ParagraphStyle, p: &Value) -> bool {
let mut any = false;
@@ -1004,7 +1035,7 @@ pub fn name_selection_commit(s: &mut Session) {
}
}
const CHAR_PARAMS: &str = r##""font":str,"fontStyle":str,"weight":100..900,"italic":bool,"size":0.1..=1296 pt,"color":"#rrggbb"|[r,g,b,a],"tracking":-1000..=10000 (1/1000 em),"leading":pt|"auto","baselineShift":pt,"horizontalScale":%,"verticalScale":%,"underline":bool,"strikethrough":bool,"fauxBold":bool,"fauxItalic":bool,"kerning":1/1000em (manual, after each character)|"metrics"|"optical"|"off","caps":"normal|small|all","baseline":"normal|superscript|subscript","ligatures":bool,"discretionaryLigatures":bool,"features":{"ss01":1},"variations":{"wght":650},"language":str"##;
const CHAR_PARAMS: &str = r##""font":str,"fontStyle":str,"weight":100..900,"italic":bool,"size":0.1..=1296 pt,"color":"#rrggbb"|[r,g,b,a],"tracking":-1000..=10000 (1/1000 em),"leading":pt|"auto","baselineShift":pt,"horizontalScale":%,"verticalScale":%,"underline":bool,"strikethrough":bool,"fauxBold":bool,"fauxItalic":bool,"kerning":1/1000em (manual, after each character)|"metrics"|"optical"|"off","caps":"normal|small|all","baseline":"normal|superscript|subscript","ligatures":bool,"discretionaryLigatures":bool,"features":{"ss01":1},"variations":{"wght":650},"language":str,"digits":"asTyped|western|contextual|devanagari|bengali|gurmukhi|gujarati|odia|tamil|telugu|kannada|malayalam""##;
/// The Type commands: create and edit type layers, set styles, fill paths, and the queries about them.
pub fn specs() -> Vec<CommandSpec> {
@@ -84,7 +84,7 @@ fn id_param(cmd: &str, p: &Value) -> Result<Option<u32>> {
/// A character style with every field changed from the default, to see which fields a set of
/// Character-panel keys touches.
fn perturbed_char() -> CharStyle {
use photocraft_doc::text::{Caps, FontBaseline, FontFeature, FontVariation, Kerning};
use photocraft_doc::text::{Caps, Digits, FontBaseline, FontFeature, FontVariation, Kerning};
CharStyle {
font_family: "\u{1}".into(),
font_style: "\u{1}".into(),
@@ -111,6 +111,7 @@ fn perturbed_char() -> CharStyle {
features: vec![FontFeature { tag: "\u{1}".into(), value: 9 }],
variations: vec![FontVariation { axis: "\u{1}".into(), value: -1.0 }],
language: Some("\u{1}".into()),
digits: Digits::Malayalam,
rotate_roman: true,
style_sheet: None,
}
+1 -1
View File
@@ -7,7 +7,7 @@ license.workspace = true
rust-version.workspace = true
[dependencies]
craft-ipp = { git = "https://github.com/storytold/craft-libs", rev = "bfd8fec34b2b0c7ecc5855f5ffc2c2f3e138bafc" }
craft-ipp = { git = "https://github.com/storytold/craft-libs", rev = "f0f9bb38ff21cd1bf7fa68f08f9f0cc7f22983fa" }
[lints]
workspace = true
+97
View File
@@ -0,0 +1,97 @@
//! Digit style: the digits a style's 0–9 are drawn with (Western, or an Indic script's). The
//! layer's text keeps the digits as typed; only the shaped paragraph text changes.
use photocraft_doc::text::Digits;
/// The Indic blocks U+0900–U+0D7F are 128 code points each, with their digits at +0x66.
const INDIC_FIRST: u32 = 0x0900;
const INDIC_END: u32 = 0x0D80;
const DIGITS_AT: u32 = 0x66;
/// The block start of an Indic script's digits, for a style naming one.
fn block_of(d: Digits) -> Option<u32> {
Some(match d {
Digits::Devanagari => 0x0900,
Digits::Bengali => 0x0980,
Digits::Gurmukhi => 0x0A00,
Digits::Gujarati => 0x0A80,
Digits::Odia => 0x0B00,
Digits::Tamil => 0x0B80,
Digits::Telugu => 0x0C00,
Digits::Kannada => 0x0C80,
Digits::Malayalam => 0x0D00,
Digits::AsTyped | Digits::Western | Digits::Contextual => return None,
})
}
/// The value 0–9 of a Western or Indic digit.
fn digit_value(ch: char) -> Option<u32> {
let c = ch as u32;
if ch.is_ascii_digit() {
return Some(c - '0' as u32);
}
let off = c.checked_sub(INDIC_FIRST)? % 0x80;
((INDIC_FIRST..INDIC_END).contains(&c) && (DIGITS_AT..DIGITS_AT + 10).contains(&off)).then(|| off - DIGITS_AT)
}
/// For a letter, `Some` of its Indic block (`None` inside for any other script's letter); `None`
/// for a non-letter (digit, punctuation, space), which leaves the context as it is.
fn letter_block(ch: char) -> Option<Option<u32>> {
if !ch.is_alphabetic() {
return None;
}
let c = ch as u32;
if (0xA8E0..0xA900).contains(&c) {
// Devanagari Extended.
return Some(Some(0x0900));
}
Some((INDIC_FIRST..INDIC_END).contains(&c).then_some(c & !0x7F))
}
/// Whether the first letter of `text` is of a right-to-left script (Hebrew, Arabic and their
/// neighbours), as the bidi algorithm would find it in the typed text. Digits drawn in an Indic
/// script are left-to-right letters to it, so a paragraph that opens with them takes its
/// direction from the typed text instead.
pub(crate) fn starts_rtl(text: &str) -> bool {
text.chars().find(|c| c.is_alphabetic()).is_some_and(|c| {
let c = c as u32;
(0x0590..0x0900).contains(&c)
|| (0xFB1D..0xFE00).contains(&c)
|| (0xFE70..0xFF00).contains(&c)
|| (0x10800..0x11000).contains(&c)
|| (0x1E800..0x1F000).contains(&c)
})
}
/// The last letter's script, followed through a paragraph for [`Digits::Contextual`].
#[derive(Clone, Copy, Default)]
pub(crate) struct Context(Option<u32>);
impl Context {
/// Notes `ch` (as typed), which may be a letter that sets the context.
pub(crate) fn see(&mut self, ch: char) {
if let Some(block) = letter_block(ch) {
self.0 = block;
}
}
}
/// `ch` as style `d` draws it after the letters `ctx` has seen.
pub(crate) fn styled(ch: char, d: Digits, ctx: Context) -> char {
if d == Digits::AsTyped {
return ch;
}
let Some(v) = digit_value(ch) else {
return ch;
};
let block = match d {
Digits::Western => None,
Digits::Contextual => ctx.0,
_ => block_of(d),
};
let c = match block {
Some(b) => b + DIGITS_AT + v,
None => '0' as u32 + v,
};
char::from_u32(c).unwrap_or(ch)
}
+68
View File
@@ -0,0 +1,68 @@
use photocraft_doc::TextLayer;
use photocraft_doc::text::{CharStyle, Digits, TextRun};
use crate::TextEngine;
use crate::digits::{Context, styled};
fn drawn(text: &str, d: Digits) -> String {
let mut ctx = Context::default();
text.chars()
.map(|ch| {
let out = styled(ch, d, ctx);
ctx.see(ch);
out
})
.collect()
}
#[test]
fn contextual_digits_follow_the_last_letter() {
// After Gujarati letters, Gujarati digits; after a Latin letter, Western again; punctuation
// and spaces between don't reset the context.
assert_eq!(drawn("ક 12, A 3", Digits::Contextual), "ક ૧૨, A 3");
// Digits typed in one Indic script follow the context too.
assert_eq!(drawn("क ૩", Digits::Contextual), "क ३");
assert_eq!(drawn("३ and ૪", Digits::Western), "3 and 4");
assert_eq!(drawn("क 12", Digits::AsTyped), "क 12");
}
fn layer(text: &str, digits: Digits) -> TextLayer {
let style = CharStyle { font_family: "Inter".into(), size_pt: 24.0, digits, ..Default::default() };
TextLayer { text: text.into(), runs: vec![TextRun { len: text.len(), style }], ..Default::default() }
}
/// A digit drawn in an Indic script is three UTF-8 bytes for the one typed: glyphs, clusters and
/// carets must still point into the layer's own text.
#[test]
fn indic_digits_keep_text_offsets() {
let mut e = TextEngine::new();
let src = "No 12 x\n34 y";
let typed = e.layout(&layer(src, Digits::AsTyped), 72.0);
let deva = e.layout(&layer(src, Digits::Devanagari), 72.0);
let ids = |l: &crate::TextLayout| l.glyphs.iter().map(|g| g.id).collect::<Vec<_>>();
assert_ne!(ids(&typed), ids(&deva), "the digits are drawn differently");
for r in deva.glyph_ranges.iter().chain(deva.clusters.iter().map(|c| &c.range)) {
assert!(src.get(r.clone()).is_some(), "{r:?} is not a range of the layer text");
}
let x_after = |l: &crate::TextLayout| l.clusters.iter().find(|c| c.range.start == 5).map(|c| c.x);
assert!(x_after(&deva).is_some(), "the space after the digits keeps its offset");
assert!(deva.caret(5).0 > deva.caret(3).0, "the caret moves across the digits");
}
#[test]
fn devanagari_extended_letters_set_the_context() {
assert_eq!(drawn("\u{A8FE}12", Digits::Contextual), "\u{A8FE}१२");
}
/// Drawn Indic digits are left-to-right letters to the bidi algorithm; a paragraph of automatic
/// direction that opens with them still takes its direction from the typed text.
#[test]
fn indic_digits_keep_an_rtl_paragraph_rtl() {
let mut e = TextEngine::new();
let src = "12 אב";
let x = |l: &crate::TextLayout, at: usize| l.clusters.iter().find(|c| c.range.start == at).map(|c| c.x).unwrap();
let typed = e.layout(&layer(src, Digits::AsTyped), 72.0);
let deva = e.layout(&layer(src, Digits::Devanagari), 72.0);
let hebrew = src.find('א').unwrap();
assert_eq!(x(&typed, 0) > x(&typed, hebrew), x(&deva, 0) > x(&deva, hebrew), "the digits stay on the same side of the word");
}
+59 -6
View File
@@ -85,6 +85,32 @@ struct ParaText {
synthetic_small_caps: Vec<(Range<usize>, f32)>,
/// Offsets in `ptext` of the spaces standing in for tabs.
tabs: Vec<usize>,
/// Where a digit style drew a digit with another UTF-8 length.
remap: Remap,
}
/// Where `ptext` and the paragraph content stop lining up byte for byte: after each digit drawn in
/// a script whose digits have another UTF-8 length, the pair (content offset, `ptext` offset)
/// just past it, both ascending.
#[derive(Default)]
struct Remap(Vec<(usize, usize)>);
impl Remap {
/// The `ptext` offset of content offset `c`.
fn to_ptext(&self, c: usize, prefix: usize) -> usize {
match self.0.partition_point(|&(sc, _)| sc <= c).checked_sub(1) {
Some(i) => self.0[i].1 + (c - self.0[i].0),
None => prefix + c,
}
}
/// The content offset of `ptext` offset `o`, a character boundary.
fn to_content(&self, o: usize, prefix: usize) -> usize {
match self.0.partition_point(|&(_, po)| po <= o).checked_sub(1) {
Some(i) => self.0[i].0 + (o - self.0[i].1),
None => o.saturating_sub(prefix),
}
}
}
/// The shaped text of the paragraph at `range` (`content_end` excludes its break), led by `prefix`.
@@ -94,6 +120,8 @@ fn paragraph_text(env: &Env<'_>, prefix: &str, range: &Range<usize>, content_end
ptext.push_str(prefix);
let mut synthetic_small_caps = Vec::new();
let mut tabs = Vec::new();
let mut remap = Remap::default();
let mut ctx = crate::digits::Context::default();
for (i, ch) in content.char_indices() {
// A forced line break ends the line but not the paragraph. The line breaker knows
// it as a newline, which has the same length, so text offsets don't move.
@@ -111,10 +139,25 @@ fn paragraph_text(env: &Env<'_>, prefix: &str, range: &Range<usize>, content_end
continue;
}
let si = env.style_at(range.start + i);
let drawn = crate::digits::styled(ch, env.styles[si].digits, ctx);
ctx.see(ch);
if drawn != ch {
ptext.push(drawn);
if drawn.len_utf8() != ch.len_utf8() {
remap.0.push((i + ch.len_utf8(), ptext.len()));
}
continue;
}
let synthetic = env.small_caps[si] == SmallCapsMode::Synthetic;
push_cased(&mut ptext, &mut synthetic_small_caps, ch, &env.styles[si], synthetic, env.k);
}
ParaText { ptext, synthetic_small_caps, tabs }
ParaText { ptext, synthetic_small_caps, tabs, remap }
}
/// Whether a style in text `range` draws digits other than as typed.
fn restyles_digits(env: &Env<'_>, range: &Range<usize>) -> bool {
let (si0, si_end) = (env.style_at(range.start), env.run_starts.partition_point(|&rs| rs < range.end).max(env.style_at(range.start) + 1));
env.styles.get(si0..si_end.min(env.styles.len())).is_some_and(|s| s.iter().any(|st| st.digits != photocraft_doc::text::Digits::AsTyped))
}
/// Appends `ch` as its style sets it: uppercased for all caps and synthetic small caps (when the
@@ -193,6 +236,7 @@ pub(super) struct Para<'a> {
synthetic_small_caps: Vec<(Range<usize>, f32)>,
/// Offsets in the paragraph text of the spaces standing in for tabs.
pub(super) tabs: Vec<usize>,
remap: Remap,
/// Runs intersecting the paragraph: `si0..si_end`.
si0: usize,
si_end: usize,
@@ -216,11 +260,14 @@ impl<'a> Para<'a> {
let k = env.k;
let content_end = strip_break(env.text, &range);
let prefix = match ps.direction {
// Drawn Indic digits would count as the first left-to-right letter: keep the typed
// text's direction.
TextDirection::Auto if restyles_digits(env, &range) && crate::digits::starts_rtl(&env.text[range.start..content_end]) => RLM,
TextDirection::Auto => "",
TextDirection::Ltr => LRM,
TextDirection::Rtl => RLM,
};
let ParaText { ptext, synthetic_small_caps, tabs } = paragraph_text(env, prefix, &range, content_end);
let ParaText { ptext, synthetic_small_caps, tabs, remap } = paragraph_text(env, prefix, &range, content_end);
// Scripts the loaded fonts may lack (Arabic, Japanese, …): a host serving a font for them
// fetches it (`served`); it joins the fallback stack once it arrives.
crate::served::request_for_text(&ptext);
@@ -244,6 +291,7 @@ impl<'a> Para<'a> {
ptext,
synthetic_small_caps,
tabs,
remap,
si0,
si_end,
roman: Vec::new(),
@@ -272,8 +320,8 @@ impl<'a> Para<'a> {
if a >= z || st.rotate_roman {
continue;
}
let base = a - self.start + self.prefix.len();
let piece = self.ptext.get(base..base + (z - a)).unwrap_or("");
let base = self.to_ptext(a);
let piece = self.ptext.get(base..self.to_ptext(z)).unwrap_or("");
let px = st.size_pt * env.k;
for (i, ch) in piece.char_indices() {
if upright_roman(ch) && !ch.is_whitespace() {
@@ -291,7 +339,12 @@ impl<'a> Para<'a> {
/// Text offset of the paragraph text's byte `o`, as the layer's text offset.
pub(super) fn map_offset(&self, o: usize) -> usize {
(self.start + o.saturating_sub(self.prefix.len())).min(self.content_end)
(self.start + self.remap.to_content(o, self.prefix.len())).min(self.content_end)
}
/// The paragraph text offset of the layer text offset `t` (inside this paragraph).
fn to_ptext(&self, t: usize) -> usize {
self.remap.to_ptext(t - self.start, self.prefix.len())
}
/// The paragraph text up to the end of the run piece at text range `range`.
@@ -364,7 +417,7 @@ impl<'a> Para<'a> {
if a >= z {
return;
}
let range = (a - self.start + self.prefix.len())..(z - self.start + self.prefix.len());
let range = self.to_ptext(a)..self.to_ptext(z);
for p in style_props(&env.styles[ri], env.k, &self.fallback, ri as u32, env.small_caps[ri]) {
b.push(p, range.clone());
}
+3
View File
@@ -21,6 +21,9 @@ pub mod area;
pub mod cjk;
mod color_glyphs;
pub mod craft_fonts;
mod digits;
#[cfg(test)]
mod digits_tests;
mod embolden;
// The EngineData syntax of type layers is PSD format code: it lives in craft-psd.
pub use craft_psd::engine_data;
@@ -0,0 +1,90 @@
//! #11803: with View › Snap and Snap To › Document Bounds on, a Perspective Crop box dragged from
//! the pasteboard beyond a canvas corner starts at that corner, and one started within the snap
//! distance of an edge starts on it, already while it is dragged. Snap off, Document Bounds off and
//! clicked corners are as before. The rule lives in the framework's tool; these tests drive it
//! through the app's canvas, which hands it View › Snap To.
use egui::Modifiers;
use serde_json::json;
use super::*;
use crate::canvas::testing::{ToolEvent, tool_event};
/// A small document, so the canvas shows it at 100 % with pasteboard all round; the Perspective
/// Crop tool with Snap and Document Bounds as given.
fn app(snap: bool, document_bounds: bool) -> Box<PhotocraftApp> {
let mut app = PhotocraftApp::new(photocraft_engine::Session::new(), crate::Services::default());
app.run("file.new", json!({"width": 200, "height": 150})).unwrap();
app.sync_views();
app.ui.tool = Tool::PerspectiveCrop;
app.ui.extras.snap = snap;
app.ui.view.snap_to.document_bounds = document_bounds;
app
}
fn press_and_move(app: &mut PhotocraftApp, from: [f64; 2], to: [f64; 2]) {
tool_event(app, ToolEvent::Down { x: from[0], y: from[1], pressure: 1.0 }, Modifiers::NONE);
let mid = [(from[0] + to[0]) / 2.0, (from[1] + to[1]) / 2.0];
tool_event(app, ToolEvent::Move { x: mid[0], y: mid[1], pressure: 1.0 }, Modifiers::NONE);
tool_event(app, ToolEvent::Move { x: to[0], y: to[1], pressure: 1.0 }, Modifiers::NONE);
}
fn drag(app: &mut PhotocraftApp, from: [f64; 2], to: [f64; 2]) {
press_and_move(app, from, to);
tool_event(app, ToolEvent::Up { x: to[0], y: to[1] }, Modifiers::NONE);
}
fn click(app: &mut PhotocraftApp, p: [f64; 2]) {
tool_event(app, ToolEvent::Down { x: p[0], y: p[1], pressure: 1.0 }, Modifiers::NONE);
tool_event(app, ToolEvent::Up { x: p[0], y: p[1] }, Modifiers::NONE);
}
/// Whether the quad's corners are `want` (the drag maps through the view, a fraction of a pixel off).
fn quad_is(app: &PhotocraftApp, want: [[f64; 2]; 4]) -> bool {
quad(app).is_some_and(|q| q.iter().flatten().zip(want.iter().flatten()).all(|(got, want)| (got - want).abs() < 1e-2))
}
#[test]
fn a_drag_from_the_pasteboard_beyond_a_corner_starts_at_it() {
let mut app = app(true, true);
press_and_move(&mut app, [-30.0, -40.0], [150.0, 100.0]);
assert!(quad_is(&app, [[0.0, 0.0], [150.0, 0.0], [150.0, 100.0], [0.0, 100.0]]), "while dragging: {:?}", quad(&app));
tool_event(&mut app, ToolEvent::Up { x: 150.0, y: 100.0 }, Modifiers::NONE);
assert!(quad_is(&app, [[0.0, 0.0], [150.0, 0.0], [150.0, 100.0], [0.0, 100.0]]), "{:?}", quad(&app));
// The bottom right corner too.
let mut app = self::app(true, true);
drag(&mut app, [240.0, 190.0], [50.0, 40.0]);
assert!(quad_is(&app, [[50.0, 40.0], [200.0, 40.0], [200.0, 150.0], [50.0, 150.0]]), "{:?}", quad(&app));
}
#[test]
fn a_drag_near_an_edge_starts_on_it_and_one_inside_stays() {
let mut app = app(true, true);
drag(&mut app, [2.0, 3.0], [150.0, 100.0]);
assert!(quad_is(&app, [[0.0, 0.0], [150.0, 0.0], [150.0, 100.0], [0.0, 100.0]]), "{:?}", quad(&app));
let mut app = self::app(true, true);
drag(&mut app, [60.0, 50.0], [150.0, 100.0]);
assert!(quad_is(&app, [[60.0, 50.0], [150.0, 50.0], [150.0, 100.0], [60.0, 100.0]]), "{:?}", quad(&app));
// Outside on one axis only, beyond the snap distance: the start stays.
let mut app = self::app(true, true);
drag(&mut app, [-30.0, 50.0], [150.0, 100.0]);
assert!(quad_is(&app, [[-30.0, 50.0], [150.0, 50.0], [150.0, 100.0], [-30.0, 100.0]]), "{:?}", quad(&app));
}
#[test]
fn with_snap_or_document_bounds_off_the_drag_starts_where_it_was_pressed() {
for (snap, bounds) in [(false, true), (true, false)] {
let mut app = app(snap, bounds);
drag(&mut app, [-30.0, -40.0], [150.0, 100.0]);
assert!(quad_is(&app, [[-30.0, -40.0], [150.0, -40.0], [150.0, 100.0], [-30.0, 100.0]]), "snap {snap}, bounds {bounds}: {:?}", quad(&app));
}
}
#[test]
fn clicked_corners_stay_where_they_were_clicked() {
let mut app = app(true, true);
for p in [[-30.0, -30.0], [100.0, 2.0], [180.0, 140.0], [2.0, 120.0]] {
click(&mut app, p);
}
assert!(quad_is(&app, [[-30.0, -30.0], [100.0, 2.0], [180.0, 140.0], [2.0, 120.0]]), "{:?}", quad(&app));
}
@@ -230,6 +230,10 @@ mod perspective_crop_deselect_tests;
#[path = "perspective_crop_mirrored_tests.rs"]
mod perspective_crop_mirrored_tests;
#[cfg(test)]
#[path = "perspective_crop_snap_tests.rs"]
mod perspective_crop_snap_tests;
#[cfg(test)]
mod tests {
use craft::behavior::kurbo::Point;
+2 -1
View File
@@ -10,7 +10,7 @@ Generated by `cargo xtask scorecard` from `perf/budgets.toml`, `perf/baseline.js
| [File compatibility](#file-compatibility) | 11 | 14 | 2 | io corpus: oracle ≥ 148/170, round trip ≥ 169/170; psd-tools corpus: oracle ≥ 249/309, round trip ≥ 308/309; photoshop oracles: oracle ≥ 190/258, round trip ≥ 258/258 |
| [Tools](#tools) | 36 | 9 | 0 | |
| [Workspace and UI](#workspace-and-ui) | 15 | 6 | 2 | settings that do nothing: 9 of 204 (target 0) |
| [Type](#type) | 5 | 5 | 0 | |
| [Type](#type) | 5 | 6 | 0 | |
| [Automation](#automation) | 6 | 4 | 2 | 664 of 664 menu items live (100.0%) |
| [Reliability](#reliability) | 5 | 2 | 0 | never-crash lints on 28 of 28 crates; panic_hunt present |
| [Distribution](#distribution) | 5 | 5 | 1 | |
@@ -261,6 +261,7 @@ Unread: `general.color_picker`, `workspace.auto_show_hidden_panels`, `workspace.
| TYPE-218-8 | Text editing: select all, double/triple/quadruple-click selection, paste, with tests | done | [#218](https://github.com/storytold/photocraft/issues/218) | Like Photoshop, 2 clicks select the word, 3 the laid-out line (a column in vertical type), 4 the paragraph up to the hard return, 5 all text, and the next quick click starts over (#3493; type_tool.rs next_click_count, click_selection, multi_click). Tested through real canvas clicks in point, paragraph and vertical type, with paste replacing the selection and Cmd+A selecting all (type_tool_tests.rs multi_click_selects_word_line_paragraph_and_all_in_point_text, multi_click_separates_wrapped_lines_from_paragraphs, click_counts_cycle_and_restart, click_selection_without_layout_and_on_hostile_input, multi_click_without_a_session_does_nothing) |
| TYPE-218-9 | Distort/Perspective/Warp on live type as in Photoshop (was: offer 'Rasterize and continue?'; Photoshop doesn't prompt) | done | [#218](https://github.com/storytold/photocraft/issues/218) | Photoshop 2026 prompts for none of these: Edit › Transform › Warp on live type stays enabled with no rasterize prompt and offers only the warp styles (the mesh can't be dragged), so the type stays editable; Distort, Perspective and the split warps are greyed. PhotoCraft does the same: Warp on type commits the layer's Warp Text in one step (transform_tool.rs enter_type_warp, warp_cmds.rs warp_type_layer, #3004; warp_on_type_takes_a_style_and_keeps_the_type_editable), Distort/Perspective greyed (enable_rules.rs, #2701) |
| TYPE-218-10 | Area type: Type tool click inside a closed path or shape wraps text inside it, holes and dents included, PSD round trip | partial | [#218](https://github.com/storytold/photocraft/issues/218) | TextShape::Area (doc text.rs) laid out line by line into the spans the path leaves (text area.rs, layout.rs break_area), type.fillPath (engine type_area_cmds.rs), released to box text by type.detachFromPath, area/path cursors and click-to-place (ui-egui type_tool.rs path_target), .pcraft round trip. Missing: PSD area type (saves as paragraph text over the path's bounds, with an export warning); mixed type sizes in one area paragraph space at its largest line; area type takes paths of at most 4096 anchors: beyond that a Type tool click makes point text (the pointer shows the plain I-beam), and type.fillPath refuses the path with "the path has too many anchor points" (type.attachToPath still takes a subpath of up to 100,000 anchors); a word too wide for every span in the shape overflows its span (box text breaks it at the edge, #6694); the first line starts about 0.24 em lower than in a text box of the same size; Photoshop area type in a PSD opens as box text; the area path has no handles to edit it after the type is placed |
| TYPE-10996-1 | Digit style: digits drawn as typed, Western, by the script of the letters before them, or in an Indic script (Devanagari, Bengali, Gurmukhi, Gujarati, Odia, Tamil, Telugu, Kannada, Malayalam) | partial | [#10996](https://github.com/storytold/photocraft/issues/10996) | CharStyle `digits` (doc text.rs), drawn in shaping (text digits.rs) while the layer text keeps the typed digits; set through the type commands' `digits` key. No Character panel control yet (needs the shared panel in craft-libs); Arabic and Persian digits are #6685; not saved in PSD |
## Automation
+7
View File
@@ -73,3 +73,10 @@ target = "Area type: Type tool click inside a closed path or shape wraps text in
status = "partial"
issue = 218
note = "TextShape::Area (doc text.rs) laid out line by line into the spans the path leaves (text area.rs, layout.rs break_area), type.fillPath (engine type_area_cmds.rs), released to box text by type.detachFromPath, area/path cursors and click-to-place (ui-egui type_tool.rs path_target), .pcraft round trip. Missing: PSD area type (saves as paragraph text over the path's bounds, with an export warning); mixed type sizes in one area paragraph space at its largest line; area type takes paths of at most 4096 anchors: beyond that a Type tool click makes point text (the pointer shows the plain I-beam), and type.fillPath refuses the path with \"the path has too many anchor points\" (type.attachToPath still takes a subpath of up to 100,000 anchors); a word too wide for every span in the shape overflows its span (box text breaks it at the edge, #6694); the first line starts about 0.24 em lower than in a text box of the same size; Photoshop area type in a PSD opens as box text; the area path has no handles to edit it after the type is placed"
[[item]]
id = "TYPE-10996-1"
target = "Digit style: digits drawn as typed, Western, by the script of the letters before them, or in an Indic script (Devanagari, Bengali, Gurmukhi, Gujarati, Odia, Tamil, Telugu, Kannada, Malayalam)"
status = "partial"
issue = 10996
note = "CharStyle `digits` (doc text.rs), drawn in shaping (text digits.rs) while the layer text keeps the typed digits; set through the type commands' `digits` key. No Character panel control yet (needs the shared panel in craft-libs); Arabic and Persian digits are #6685; not saved in PSD"