Skip to content

Commit 617a785

Browse files
committed
Upgrade napi.rs
1 parent 57672dc commit 617a785

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/ferric-example/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ license = "MIT"
88
crate-type = ["cdylib"]
99

1010
[dependencies.napi]
11-
version = "2"
11+
version = "3.0.0-alpha"
1212
default-features = false
1313
# see https://nodejs.org/api/n-api.html#node-api-version-matrix
1414
features = ["napi3"]
1515

1616
[dependencies.napi-derive]
17-
version = "2"
17+
version = "3.0.0-alpha"
1818
features = ["type-def"]
1919

2020
[build-dependencies]
2121
napi-build = "2"
2222

2323
[profile.release]
2424
lto = true
25-
strip = "symbols"
25+
codegen-units = 1

packages/ferric/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"start": "tsx src/run.ts"
1717
},
1818
"dependencies": {
19-
"@napi-rs/cli": "^2.18.4",
19+
"@napi-rs/cli": "3.0.0-alpha.80",
2020
"@commander-js/extra-typings": "^13.1.0",
2121
"bufout": "^0.3.1",
2222
"chalk": "^5.4.1",

0 commit comments

Comments
 (0)