Rspack: Remove bincode dependency from rspack by way of turbo-unix-path (#98855)

https://github.com/vercel/next.js/pull/98440 unintentionally caused the
rspack `Cargo.lock` to become outdated because it added a `smallvec`
dependency to `turbo-unix-path`, which gets used by `next-taskless`.

We only really need `smallvec`'s `serde` and `bincode_impl` features
when used with turbo-tasks, so move the feature declaration there.
This commit is contained in:
Benjamin Woodruff ‮
2026-09-18 13:59:26 -07:00
committed by GitHub
parent edeb57395d
commit 6db993a17c
3 changed files with 4 additions and 3 deletions
-2
View File
@@ -341,11 +341,9 @@ serde_qs = "1.1.1"
serde_with = "3.18.0"
sha2 = "0.10.2"
smallvec = { version = "1.15.1", features = [
"serde",
"const_generics",
"union",
"const_new",
"impl_bincode",
] }
shrink-to-fit = "0.2.10"
strsim = "0.11.1"
+3
View File
@@ -6758,6 +6758,9 @@ dependencies = [
[[package]]
name = "turbo-unix-path"
version = "0.0.1"
dependencies = [
"smallvec",
]
[[package]]
name = "typenum"
+1 -1
View File
@@ -53,7 +53,7 @@ scattered-collect = { workspace = true }
serde = { workspace = true, features = ["rc", "derive"] }
serde_json = { workspace = true }
shrink-to-fit = { workspace = true, features = ["indexmap", "serde_json", "smallvec", "nightly"] }
smallvec = { workspace = true }
smallvec = { workspace = true, features = ["serde", "impl_bincode"] }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"] }
tokio-util = { workspace = true }