diff --git a/Cargo.lock b/Cargo.lock index 407b281..b852626 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1857,11 +1857,11 @@ checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" [[package]] name = "png" -version = "0.17.16" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526" +checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.13.0", "crc32fast", "fdeflate", "flate2", diff --git a/crates/whp-helper/Cargo.toml b/crates/whp-helper/Cargo.toml index 5d8293b..0202e21 100644 --- a/crates/whp-helper/Cargo.toml +++ b/crates/whp-helper/Cargo.toml @@ -20,7 +20,7 @@ tempfile = "3.27.0" [target."cfg(windows)".dependencies] # 剪貼簿圖片:CF_DIB ↔ PNG 轉換(純 Rust,無 C 依賴,符合單檔精神)。與現代(PNG 格式) # 及傳統(CF_DIB:小畫家/剪取工具/PowerShell)Windows app 互通。 -png = "0.17" +png = "0.18" windows-sys = { version = "0.61", features = [ "Win32_Foundation", "Win32_System_LibraryLoader",