feat: no panik

This commit is contained in:
DecDuck
2025-08-25 12:20:51 +10:00
parent ba35ca9a14
commit 0d01809fd0
8 changed files with 223 additions and 196 deletions

View File

@ -9,11 +9,7 @@ crate-type = ["cdylib"]
[dependencies]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "3.0.0-beta.11", default-features = false, features = [
"napi6",
"async",
"web_stream",
] }
napi = { version = "3.0.0-beta.11", default-features = false, features = ["napi6", "async", "web_stream", "error_anyhow"] }
napi-derive = "3.0.0-beta.11"
hex = "0.4.3"
md5 = "0.7.0"
@ -30,6 +26,7 @@ rhai = "1.22.2"
mlua = { version = "0.11.2", features = ["luajit"] }
boa_engine = "0.20.0"
serde_json = "1.0.143"
anyhow = "1.0.99"
[package.metadata.patch]
crates = ["rawzip"]