[Pkg-javascript-devel] Bug#1145429: rust-swc-core: use compact_str 0.10
Simon Quigley
simon at tsimonq2.net
Tue Aug 25 02:34:27 BST 2026
Source: rust-swc-core
Version: 76.0.2+ds-3
Severity: important
Tags: patch
User: debian-rust at lists.debian.org
Usertags: compact-str-0.10
X-Debbugs-Cc: debian-rust at lists.debian.org
Dear maintainer,
I am preparing a rust-compact-str transition, which will be uploaded soon.
rust-swc-core needs a small patch to allow and use compact_str 0.10.
I have attached a debdiff fixing this.
Best regards,
Simon Quigley
tsimonq2 at debian.org
-------------- next part --------------
diff -Nru rust-swc-core-76.0.2+ds/debian/changelog rust-swc-core-76.0.2+ds/debian/changelog
--- rust-swc-core-76.0.2+ds/debian/changelog 2026-08-21 03:06:48.000000000 -0500
+++ rust-swc-core-76.0.2+ds/debian/changelog 2026-08-24 19:12:14.000000000 -0500
@@ -1,3 +1,10 @@
+rust-swc-core (76.0.2+ds-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Allow compact_str 0.10.
+
+ -- Simon Quigley <tsimonq2 at debian.org> Mon, 24 Aug 2026 19:12:14 -0500
+
rust-swc-core (76.0.2+ds-3) unstable; urgency=medium
* build- and autopkgtest-depend on package for crate lazy_static;
diff -Nru rust-swc-core-76.0.2+ds/debian/control rust-swc-core-76.0.2+ds/debian/control
--- rust-swc-core-76.0.2+ds/debian/control 2026-08-21 03:06:14.000000000 -0500
+++ rust-swc-core-76.0.2+ds/debian/control 2026-08-24 19:11:07.000000000 -0500
@@ -20,7 +20,7 @@
librust-bytes-str-0.2-dev,
librust-cbor4ii-1-dev,
librust-chili-0.2-dev,
- librust-compact-str-0.9-dev,
+ librust-compact-str-0.10-dev,
librust-dashmap-6-dev,
librust-data-encoding-2-dev,
librust-debugid-0.8-dev,
diff -Nru rust-swc-core-76.0.2+ds/debian/patches/1002_newer_compact_str.patch rust-swc-core-76.0.2+ds/debian/patches/1002_newer_compact_str.patch
--- rust-swc-core-76.0.2+ds/debian/patches/1002_newer_compact_str.patch 2026-08-12 12:09:01.000000000 -0500
+++ rust-swc-core-76.0.2+ds/debian/patches/1002_newer_compact_str.patch 2026-08-24 19:11:33.000000000 -0500
@@ -10,7 +10,7 @@
chrono = "0.4.38"
codspeed-criterion-compat = "3.0.4"
-compact_str = "0.7.1"
-+compact_str = ">= 0.7.1, <= 0.9"
++compact_str = ">= 0.7.1, <= 0.11"
console_error_panic_hook = "0.1.7"
copyless = "0.1.5"
crc = "2.1.0"
diff -Nru rust-swc-core-76.0.2+ds/debian/patches/1002_newer_crc.patch rust-swc-core-76.0.2+ds/debian/patches/1002_newer_crc.patch
--- rust-swc-core-76.0.2+ds/debian/patches/1002_newer_crc.patch 2026-08-12 12:09:02.000000000 -0500
+++ rust-swc-core-76.0.2+ds/debian/patches/1002_newer_crc.patch 2026-08-24 19:12:14.000000000 -0500
@@ -6,7 +6,7 @@
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -39,7 +39,7 @@
- compact_str = ">= 0.7.1, <= 0.9"
+ compact_str = ">= 0.7.1, <= 0.11"
console_error_panic_hook = "0.1.7"
copyless = "0.1.5"
-crc = "2.1.0"
diff -Nru rust-swc-core-76.0.2+ds/debian/patches/2001_no_bench.patch rust-swc-core-76.0.2+ds/debian/patches/2001_no_bench.patch
--- rust-swc-core-76.0.2+ds/debian/patches/2001_no_bench.patch 2026-08-12 12:16:23.000000000 -0500
+++ rust-swc-core-76.0.2+ds/debian/patches/2001_no_bench.patch 2026-08-24 19:12:10.000000000 -0500
@@ -140,7 +140,7 @@
changesets = "0.2.2"
chrono = "0.4.38"
-codspeed-criterion-compat = "3.0.4"
- compact_str = ">= 0.7.1, <= 0.9"
+ compact_str = ">= 0.7.1, <= 0.11"
console_error_panic_hook = "0.1.7"
copyless = "0.1.5"
crc = ">= 2.1, <= 3"
diff -Nru rust-swc-core-76.0.2+ds/debian/tests/control rust-swc-core-76.0.2+ds/debian/tests/control
--- rust-swc-core-76.0.2+ds/debian/tests/control 2026-08-21 03:06:31.000000000 -0500
+++ rust-swc-core-76.0.2+ds/debian/tests/control 2026-08-24 19:12:14.000000000 -0500
@@ -113,7 +113,7 @@
# test-name=rust-hstr:@,
#Depends:
# dh-rust,
-# librust-compact-str-0.9-dev,
+# librust-compact-str-0.10-dev,
# librust-hstr-dev,
# librust-kstring-2-dev,
# librust-num-cpus-1-dev,
@@ -131,7 +131,7 @@
test-name=rust-hstr:,
Depends:
dh-rust,
- librust-compact-str-0.9-dev,
+ librust-compact-str-0.10-dev,
librust-hstr-dev,
librust-kstring-2-dev,
librust-num-cpus-1-dev,
@@ -149,7 +149,7 @@
test-name=rust-hstr:default,
Depends:
dh-rust,
- librust-compact-str-0.9-dev,
+ librust-compact-str-0.10-dev,
librust-hstr-dev,
librust-kstring-2-dev,
librust-num-cpus-1-dev,
@@ -168,7 +168,7 @@
# test-name=rust-hstr:atom_size_128,
#Depends:
# dh-rust,
-# librust-compact-str-0.9-dev,
+# librust-compact-str-0.10-dev,
# librust-hstr-dev,
# librust-kstring-2-dev,
# librust-num-cpus-1-dev,
@@ -188,7 +188,7 @@
# test-name=rust-hstr:atom_size_64,
#Depends:
# dh-rust,
-# librust-compact-str-0.9-dev,
+# librust-compact-str-0.10-dev,
# librust-hstr-dev,
# librust-kstring-2-dev,
# librust-num-cpus-1-dev,
@@ -207,7 +207,7 @@
test-name=rust-hstr:serde,
Depends:
dh-rust,
- librust-compact-str-0.9-dev,
+ librust-compact-str-0.10-dev,
librust-hstr-dev,
librust-kstring-2-dev,
librust-num-cpus-1-dev,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20260824/1e97ea0a/attachment.sig>
More information about the Pkg-javascript-devel
mailing list