mirror of
https://github.com/Drop-OSS/droplet.git
synced 2026-06-22 04:11:40 +10:00
fix: revert napi update
This commit is contained in:
+2
-2
@@ -9,12 +9,12 @@ crate-type = ["cdylib"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
|
# 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 = [
|
napi = { version = "3.0.0-alpha.33", default-features = false, features = [
|
||||||
"napi4",
|
"napi4",
|
||||||
"async",
|
"async",
|
||||||
"web_stream",
|
"web_stream",
|
||||||
] }
|
] }
|
||||||
napi-derive = "3.0.0-alpha.11"
|
napi-derive = "3.0.0-alpha.33"
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
serde_json = "1.0.128"
|
serde_json = "1.0.128"
|
||||||
md5 = "0.7.0"
|
md5 = "0.7.0"
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@drop-oss/droplet",
|
"name": "@drop-oss/droplet",
|
||||||
"version": "1.5.0",
|
"version": "1.5.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"types": "index.d.ts",
|
"types": "index.d.ts",
|
||||||
"napi": {
|
"napi": {
|
||||||
|
|||||||
@@ -84,11 +84,6 @@ impl ZipVersionBackend {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl Drop for ZipVersionBackend {
|
|
||||||
fn drop(&mut self) {
|
|
||||||
println!("dropping archive");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub struct ZipFileWrapper {
|
pub struct ZipFileWrapper {
|
||||||
pub archive: Arc<ZipArchive<FileReader>>,
|
pub archive: Arc<ZipArchive<FileReader>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user