diff --git a/Cargo.lock b/Cargo.lock index 5da93977..9804fc5c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1250,7 +1250,7 @@ dependencies = [ [[package]] name = "craft-winprint-gdi" version = "0.1.0" -source = "git+https://github.com/storytold/winprint.rs?rev=417ac3c4d14d3da5485a99c7d5ce8f05664ec312#417ac3c4d14d3da5485a99c7d5ce8f05664ec312" +source = "git+https://github.com/storytold/winprint.rs?rev=64e7afd4d1483512385012c340ecaaaf0f3beb7f#64e7afd4d1483512385012c340ecaaaf0f3beb7f" dependencies = [ "windows-sys 0.61.2", ] @@ -7106,7 +7106,7 @@ dependencies = [ [[package]] name = "winprint" version = "0.2.1" -source = "git+https://github.com/storytold/winprint.rs?rev=5f80b9baf6b58937c401656634e42d33f00ddf49#5f80b9baf6b58937c401656634e42d33f00ddf49" +source = "git+https://github.com/storytold/winprint.rs?rev=64e7afd4d1483512385012c340ecaaaf0f3beb7f#64e7afd4d1483512385012c340ecaaaf0f3beb7f" dependencies = [ "flate2", "fmt-derive", diff --git a/crates/print/Cargo.toml b/crates/print/Cargo.toml index cd3dd0c4..61d4c7cf 100644 --- a/crates/print/Cargo.toml +++ b/crates/print/Cargo.toml @@ -9,7 +9,7 @@ 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 = "417ac3c4d14d3da5485a99c7d5ce8f05664ec312" } +craft-winprint-gdi = { git = "https://github.com/storytold/winprint.rs", rev = "64e7afd4d1483512385012c340ecaaaf0f3beb7f" } [lints] workspace = true @@ -23,9 +23,10 @@ log = "0.4" # and the job (Windows.Data.Pdf drawn with Direct2D into the XPS print API, options as a # PrintTicket) are safe wrappers over Win32 and WinRT (BSD-3-Clause). Its default `pdfium` # 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. -# Pinned to an immutable revision; review before bumping. -winprint = { git = "https://github.com/storytold/winprint.rs", rev = "5f80b9baf6b58937c401656634e42d33f00ddf49", default-features = false } +# 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 } # GetDefaultPrinter (MIT). winsafe = { version = "0.0.29", default-features = false, features = ["winspool"] } # The job file's private folder.