build(npu): add zip crate to extract the runtime bundle (T3.4)

This commit is contained in:
iamdoubz
2026-07-03 09:16:40 -05:00
parent 164cecae7a
commit 7cc437d1b5
2 changed files with 53 additions and 2 deletions
+52 -2
View File
@@ -63,6 +63,15 @@ version = "1.0.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3"
[[package]]
name = "arbitrary"
version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1"
dependencies = [
"derive_arbitrary",
]
[[package]]
name = "argon2"
version = "0.5.3"
@@ -795,6 +804,17 @@ dependencies = [
"serde_core",
]
[[package]]
name = "derive_arbitrary"
version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.118",
]
[[package]]
name = "derive_more"
version = "2.1.1"
@@ -928,7 +948,7 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.18",
"zip",
"zip 0.6.6",
]
[[package]]
@@ -5925,7 +5945,7 @@ dependencies = [
[[package]]
name = "whispassist"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"argon2",
"async-trait",
@@ -5958,6 +5978,7 @@ dependencies = [
"whisper-rs",
"windows 0.58.0",
"zeroize",
"zip 2.4.2",
]
[[package]]
@@ -6852,12 +6873,41 @@ dependencies = [
"flate2",
]
[[package]]
name = "zip"
version = "2.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fabe6324e908f85a1c52063ce7aa26b68dcb7eb6dbc83a2d148403c9bc3eba50"
dependencies = [
"arbitrary",
"crc32fast",
"crossbeam-utils",
"displaydoc",
"flate2",
"indexmap 2.14.0",
"memchr",
"thiserror 2.0.18",
"zopfli",
]
[[package]]
name = "zmij"
version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
[[package]]
name = "zopfli"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f05cd8797d63865425ff89b5c4a48804f35ba0ce8d125800027ad6017d2b5249"
dependencies = [
"bumpalo",
"crc32fast",
"log",
"simd-adler32",
]
[[package]]
name = "zune-core"
version = "0.5.1"
+1
View File
@@ -64,6 +64,7 @@ tauri-plugin-dialog = "2" # native Save/choose
# conversion service, consistent with the fully-local invariant.
pulldown-cmark = "0.12"
printpdf = "0.7"
zip = { version = "2", default-features = false, features = ["deflate"] } # unzip the on-demand NPU runtime bundle (T3.4)
docx-rs = "0.4"
[target.'cfg(windows)'.dependencies]