Description: avoid not-in-Debian crate shrink-to-fit
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-02-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/crates/swc_atoms/Cargo.toml
+++ b/crates/swc_atoms/Cargo.toml
@@ -14,7 +14,6 @@
 [features]
 __rkyv        = []
 rkyv-impl     = ["__rkyv", "rkyv", "bytecheck", "rancor"]
-shrink-to-fit = ["dep:shrink-to-fit"]
 
 [dependencies]
 # bytecheck version should be in sync with rkyv version. Do not bump individually.
@@ -24,6 +23,5 @@
 rancor        = { workspace = true, optional = true }
 rkyv          = { workspace = true, optional = true }
 serde         = { workspace = true }
-shrink-to-fit = { workspace = true, optional = true }
 
 hstr = { version = "2.0.1", path = "../hstr" }
--- a/crates/swc_common/Cargo.toml
+++ b/crates/swc_common/Cargo.toml
@@ -36,8 +36,6 @@
 __rkyv    = []
 rkyv-impl = ["__rkyv", "rkyv", "swc_atoms/rkyv-impl", "bytecheck", "rancor"]
 
-shrink-to-fit = ["dep:shrink-to-fit", "swc_atoms/shrink-to-fit"]
-
 
 [dependencies]
 anyhow                = { workspace = true }
@@ -52,7 +50,6 @@
 rkyv                  = { workspace = true, optional = true }
 rustc-hash            = { workspace = true }
 serde                 = { workspace = true, features = ["derive"] }
-shrink-to-fit         = { workspace = true, optional = true }
 siphasher             = { workspace = true }
 swc_sourcemap         = { workspace = true, optional = true }
 termcolor             = { workspace = true, optional = true }
