mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-15 23:12:15 +00:00
Merge pull request #636 from songzhihui/fix/windows-print-combined
print: adopt file-backed Windows PDF loading after the merged crash fix
This commit is contained in:
2 files changed
+8
-3
No files matched your search
Generated
+1
-1
@@ -7106,7 +7106,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "winprint"
|
||||
version = "0.2.1"
|
||||
source = "git+https://github.com/storytold/winprint.rs?rev=64e7afd4d1483512385012c340ecaaaf0f3beb7f#64e7afd4d1483512385012c340ecaaaf0f3beb7f"
|
||||
source = "git+https://github.com/storytold/winprint.rs?rev=51934db382f225454cf152a8657eb03789be63c4#51934db382f225454cf152a8657eb03789be63c4"
|
||||
dependencies = [
|
||||
"flate2",
|
||||
"fmt-derive",
|
||||
|
||||
@@ -9,6 +9,9 @@ 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.
|
||||
# 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]
|
||||
@@ -25,8 +28,10 @@ log = "0.4"
|
||||
# feature downloads PDFium at build time and is off. The maintained BSD-3-Clause fork
|
||||
# preserves terminal failures/cancellation and bounds the completion notification wait, and
|
||||
# creates the Direct2D factory multi-threaded, since Windows.Data.Pdf draws on its own worker
|
||||
# threads (storytold/pdfcraft#5006). Pinned to an immutable revision; review before bumping.
|
||||
winprint = { git = "https://github.com/storytold/winprint.rs", rev = "64e7afd4d1483512385012c340ecaaaf0f3beb7f", default-features = false }
|
||||
# threads (storytold/pdfcraft#5006). File-backed PDF loading avoids StorageFile access
|
||||
# denial without whole-job buffering; includes the #15 test cleanup and explicit WinRT
|
||||
# feature. Pinned to an immutable revision; review before bumping.
|
||||
winprint = { git = "https://github.com/storytold/winprint.rs", rev = "51934db382f225454cf152a8657eb03789be63c4", default-features = false }
|
||||
# GetDefaultPrinter (MIT).
|
||||
winsafe = { version = "0.0.29", default-features = false, features = ["winspool"] }
|
||||
# The job file's private folder.
|
||||
|
||||
Reference in new issue
Block a user