Package: rust-swc-core Version: 77.1.2+ds-4 Tags: patch
I hope to update rust-petgraph to the latest version soon, rust-swc-core needs a small tweak to build with it.
diff -Nru rust-swc-core-77.1.2+ds/debian/changelog rust-swc-core-77.1.2+ds/debian/changelog --- rust-swc-core-77.1.2+ds/debian/changelog 2026-11-20 13:20:46.000000000 +0000 +++ rust-swc-core-77.1.2+ds/debian/changelog 2026-12-02 00:25:49.000000000 +0000 @@ -1,3 +1,10 @@ +rust-swc-core (77.1.2+ds-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax dependency on petgraph. + + -- Peter Michael Green <[email protected]> Wed, 02 Dec 2026 00:25:49 +0000 + rust-swc-core (77.1.2+ds-4) unstable; urgency=medium [ Jérémy Lal ] diff -Nru rust-swc-core-77.1.2+ds/debian/control rust-swc-core-77.1.2+ds/debian/control --- rust-swc-core-77.1.2+ds/debian/control 2026-11-20 13:20:46.000000000 +0000 +++ rust-swc-core-77.1.2+ds/debian/control 2026-12-02 00:25:49.000000000 +0000 @@ -53,7 +53,7 @@ librust-parking-lot-0.12-dev, librust-path-clean-1-dev, librust-pathdiff-0.2-dev, - librust-petgraph-dev (<< 0.8), + librust-petgraph-dev (<< 0.9), librust-phf-0.11+phf-macros-dev, librust-pretty-assertions-1-dev, librust-proc-macro2-1-dev, @@ -201,7 +201,7 @@ librust-parking-lot-0.12-dev, librust-path-clean-1-dev, librust-pathdiff-0.2-dev, - librust-petgraph-dev (<< 0.8), + librust-petgraph-dev (<< 0.9), librust-phf-0.11+phf-macros-dev, librust-proc-macro2-1-dev, librust-quote-1-dev, diff -Nru rust-swc-core-77.1.2+ds/debian/patches/2002_older_petgraph.patch rust-swc-core-77.1.2+ds/debian/patches/2002_older_petgraph.patch --- rust-swc-core-77.1.2+ds/debian/patches/2002_older_petgraph.patch 2026-11-15 23:25:56.000000000 +0000 +++ rust-swc-core-77.1.2+ds/debian/patches/2002_older_petgraph.patch 2026-12-02 00:25:22.000000000 +0000 @@ -12,7 +12,7 @@ path-clean = "1.0" pathdiff = "0.2.1" -petgraph = "0.7.1" -+petgraph = ">= 0.6.4, <= 0.7" ++petgraph = ">= 0.6.4, <= 0.8" phf = "0.11.2" pretty_assertions = "1.3" proc-macro2 = "1.0.24"

