print: preserve the public GDI dependency identity while updating the PDF loader

This commit is contained in:
Zhihui Song committed 2026-11-08 11:05:10 +08:00
1 parent 45b7ededd9
commit e6489d9226
2 files changed
+5 -2

No files matched your search

Generated
+1 -1
View File
@@ -1250,7 +1250,7 @@ dependencies = [
[[package]]
name = "craft-winprint-gdi"
version = "0.1.0"
source = "git+https://github.com/storytold/winprint.rs?rev=03a4fb638734dc0f2b8e173de9e8dc895a8b1c75#03a4fb638734dc0f2b8e173de9e8dc895a8b1c75"
source = "git+https://github.com/storytold/winprint.rs?rev=64e7afd4d1483512385012c340ecaaaf0f3beb7f#64e7afd4d1483512385012c340ecaaaf0f3beb7f"
dependencies = [
"windows-sys 0.61.2",
]
+4 -1
View File
@@ -9,7 +9,10 @@ description = "System PDF print spooler for the Craft apps: CUPS and Windows"
[dependencies]
# Safe API; Win32 calls are isolated in this maintained MIT OR Apache-2.0 dependency.
craft-winprint-gdi = { git = "https://github.com/storytold/winprint.rs", rev = "03a4fb638734dc0f2b8e173de9e8dc895a8b1c75" }
# Keep the public rgb re-export at main's GDI revision: a different Git rev gives
# downstream GDI values a different Rust type identity even when the code is unchanged.
# PDF loader updates below are independent of this public transport API.
craft-winprint-gdi = { git = "https://github.com/storytold/winprint.rs", rev = "64e7afd4d1483512385012c340ecaaaf0f3beb7f" }
[lints]
workspace = true