Skip to content

Commit 62cf6be

Browse files
authored
chore: update rust dependencies (#41)
1 parent 08a8673 commit 62cf6be

File tree

3 files changed

+592
-471
lines changed

3 files changed

+592
-471
lines changed

Cargo.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,15 @@ path = "rust/lib.rs"
1111
libp2p-identity = { version = "0.2.12", features = ["ed25519", "peerid", "rand", "rsa", "secp256k1", "serde"] }
1212
libp2p-tls = "0.6.2"
1313
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
14-
napi = { version = "3.0.0", default-features = false, features = ["napi9", "async", "tokio_rt"] }
15-
napi-derive = "3.0.0"
14+
napi = { version = "3.6.1", default-features = false, features = ["napi9", "async", "tokio_rt"] }
15+
napi-derive = "3.4.0"
1616
oneshot = "0.1.11"
1717
pin-project-lite = "0.2.16"
18-
quinn = "0.11.8"
18+
quinn = "0.11.9"
1919
ring = "0.17.14"
20-
rustls = { version = "0.23.29", features = ["ring"] }
21-
tokio = { version = "1.46.1", features = ["full"] }
22-
# included to satisfy napi dependencies
23-
ctor = "0.4.2"
24-
socket2 = "0.6.0"
20+
rustls = { version = "0.23.35", features = ["ring"] }
21+
tokio = { version = "1.48.0", features = ["full"] }
22+
socket2 = "0.6.1"
2523

2624
[build-dependencies]
2725
napi-build = "2.2.2"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@chainsafe/is-ip": "^2.1.0",
7474
"@libp2p/interface-compliance-tests": "^6.4.15",
7575
"@libp2p/logger": "^5.1.21",
76-
"@napi-rs/cli": "^3.0.0",
76+
"@napi-rs/cli": "^3.5.0",
7777
"aegir": "^47.0.19",
7878
"p-event": "^6.0.1",
7979
"sinon-ts": "^2.0.0",

0 commit comments

Comments
 (0)