File: 2001_shrink-to-fit.patch

package info (click to toggle)
rust-swc-core 35.0.0~ds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 62,816 kB
  • sloc: javascript: 873; xml: 538; sh: 358; makefile: 35; python: 5
file content (42 lines) | stat: -rw-r--r-- 1,544 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 }