From 6189ecd650a8f3bc97e45451afd7ed4e8095fcd5 Mon Sep 17 00:00:00 2001 From: pshu Date: Tue, 9 Sep 2025 15:56:15 +0800 Subject: [PATCH 1/3] chore: bump crate 0.6.3 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 434e408..182ad63 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -868,7 +868,7 @@ dependencies = [ [[package]] name = "rspack_resolver" -version = "0.6.2" +version = "0.6.3" dependencies = [ "async-trait", "cfg-if", diff --git a/Cargo.toml b/Cargo.toml index 1e14fc7..e049f0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["napi"] resolver = "2" [package] -version = "0.6.2" +version = "0.6.3" name = "rspack_resolver" authors = ["Rspack"] categories = ["development-tools"] From 7013a3105a86354aacc8f864a2dfd538367677f8 Mon Sep 17 00:00:00 2001 From: pshu Date: Tue, 9 Sep 2025 15:57:05 +0800 Subject: [PATCH 2/3] chore: bump npm 0.2.2 --- npm/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/package.json b/npm/package.json index 04c5376..828a396 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "@rspack/resolver", - "version": "0.2.1", + "version": "0.2.2", "description": "Rspack Resolver Node API", "main": "index.js", "browser": "browser.js", From 131cc02817b34c2643f2e2271bd8a6ebd13eb48b Mon Sep 17 00:00:00 2001 From: pshu Date: Wed, 10 Sep 2025 00:38:13 +0800 Subject: [PATCH 3/3] chore: update tokio --- Cargo.lock | 86 +++++++++++++++++++++++++++++++++--------------------- Cargo.toml | 4 +-- 2 files changed, 55 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 182ad63..fa772ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,19 +4,13 @@ version = 3 [[package]] name = "addr2line" -version = "0.22.0" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ "gimli", ] -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - [[package]] name = "adler2" version = "2.0.1" @@ -57,17 +51,17 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.73" +version = "0.3.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" +checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" dependencies = [ "addr2line", - "cc", "cfg-if", "libc", - "miniz_oxide 0.7.4", + "miniz_oxide", "object", "rustc-demangle", + "windows-targets 0.52.6", ] [[package]] @@ -115,12 +109,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" -[[package]] -name = "cc" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaff6f8ce506b9773fa786672d63fc7a191ffea1be33f72bbd4aeacefca9ffc8" - [[package]] name = "cfg-if" version = "1.0.0" @@ -451,14 +439,14 @@ dependencies = [ "cfg-if", "libc", "r-efi", - "wasi", + "wasi 0.14.2+wasi-0.2.4", ] [[package]] name = "gimli" -version = "0.29.0" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "half" @@ -493,6 +481,17 @@ dependencies = [ "serde", ] +[[package]] +name = "io-uring" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b" +dependencies = [ + "bitflags 2.6.0", + "cfg-if", + "libc", +] + [[package]] name = "itoa" version = "1.0.11" @@ -516,9 +515,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.155" +version = "0.2.175" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" [[package]] name = "libloading" @@ -554,20 +553,22 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "miniz_oxide" -version = "0.7.4" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ - "adler", + "adler2", ] [[package]] -name = "miniz_oxide" -version = "0.8.9" +name = "mio" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" +checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c" dependencies = [ - "adler2", + "libc", + "wasi 0.11.1+wasi-snapshot-preview1", + "windows-sys 0.59.0", ] [[package]] @@ -743,7 +744,7 @@ dependencies = [ "clean-path", "concurrent_lru", "fancy-regex", - "miniz_oxide 0.8.9", + "miniz_oxide", "path-slash", "pathdiff", "radix_trie", @@ -1051,12 +1052,16 @@ dependencies = [ [[package]] name = "tokio" -version = "1.44.2" +version = "1.47.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6b88822cbe49de4185e3a4cbf8321dd487cf5fe0c5c65695fef6346371e9c48" +checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", + "io-uring", + "libc", + "mio", "pin-project-lite", + "slab", "tokio-macros", ] @@ -1154,6 +1159,12 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + [[package]] name = "wasi" version = "0.14.2+wasi-0.2.4" @@ -1212,6 +1223,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-targets" version = "0.48.5" diff --git a/Cargo.toml b/Cargo.toml index e049f0f..f075d5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,9 +95,9 @@ futures = "0.3.31" async-trait = "0.1.84" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -tokio = { version = "1.44.2", default-features = false, features = ["sync", "rt-multi-thread", "macros", "fs"] } +tokio = { version = "1.47.1", default-features = false, features = ["sync", "rt-multi-thread", "macros", "fs"] } [target.'cfg(target_arch = "wasm32")'.dependencies] -tokio = { version = "1.44.2", default-features = false, features = ["sync", "rt", "macros" ]} +tokio = { version = "1.47.1", default-features = false, features = ["sync", "rt", "macros" ]} [dev-dependencies] vfs = "0.12.0" # for testing with in memory file system