Skip to content

Commit 9f953e0

Browse files
authored
chore: upgrade napi to crates version (#633)
1 parent 792f69d commit 9f953e0

File tree

7 files changed

+6
-11
lines changed

7 files changed

+6
-11
lines changed

Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,3 @@ codegen-units = 1
1616
lto = true
1717
overflow-checks = false
1818
strip = 'symbols'
19-
20-
[patch.crates-io]
21-
napi = { git = "https://github.com/napi-rs/napi-rs", branch = "main" }
22-
napi-derive = { git = "https://github.com/napi-rs/napi-rs", branch = "main" }
23-
napi-build = { git = "https://github.com/napi-rs/napi-rs", branch = "main" }

packages/argon2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ napi-derive = { version = "2", default-features = false, features = [
1616
rand = { version = "0.8", features = ["nightly", "simd_support", "getrandom"] }
1717

1818
[build-dependencies]
19-
napi-build = "1"
19+
napi-build = "2"

packages/bcrypt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ base64 = { version = "0.13", default-features = false }
2020
quickcheck = "1.0"
2121

2222
[build-dependencies]
23-
napi-build = "1"
23+
napi-build = "2"

packages/crc32/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ napi = { version = "2", default-features = false, features = ["napi3"] }
1515
napi-derive = { version = "2", default-features = false }
1616

1717
[build-dependencies]
18-
napi-build = "1"
18+
napi-build = "2"

packages/deno-lint/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ serde = "1"
2222
serde_json = "1"
2323

2424
[build-dependencies]
25-
napi-build = "1"
25+
napi-build = "2"

packages/jieba/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ napi-derive = { version = "2" }
1515
once_cell = "1"
1616

1717
[build-dependencies]
18-
napi-build = "1"
18+
napi-build = "2"

packages/xxhash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ napi-derive = { version = "2" }
1414
xxhash-rust = { version = "0.8", features = ["xxh32", "xxh64", "xxh3"] }
1515

1616
[build-dependencies]
17-
napi-build = "1"
17+
napi-build = "2"

0 commit comments

Comments
 (0)