diff --git a/Cargo.toml b/Cargo.toml index 2ded1edebe2..3cb6ca293a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/rspack/Cargo.lock b/rspack/Cargo.lock index 348c0609f6b..2886792472c 100644 --- a/rspack/Cargo.lock +++ b/rspack/Cargo.lock @@ -6758,6 +6758,9 @@ dependencies = [ [[package]] name = "turbo-unix-path" version = "0.0.1" +dependencies = [ + "smallvec", +] [[package]] name = "typenum" diff --git a/turbopack/crates/turbo-tasks/Cargo.toml b/turbopack/crates/turbo-tasks/Cargo.toml index d7b1e0511b3..4656c709f96 100644 --- a/turbopack/crates/turbo-tasks/Cargo.toml +++ b/turbopack/crates/turbo-tasks/Cargo.toml @@ -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 }