From 734cc5b77eec1c587efd628e572fe41e5578d3cc Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 15 Jan 2026 11:43:31 +0100 Subject: [PATCH] fix: Patch `ruma` to fix #5979. This patch includes https://github.com/ruma/ruma/pull/2329. --- Cargo.lock | 27 +++++++++------------------ Cargo.toml | 1 + 2 files changed, 10 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 64b998ba1..f1d177a36 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4810,8 +4810,7 @@ dependencies = [ [[package]] name = "ruma" version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9f620a2116d0d3082f9256e61dcdf67f2ec266d3f6bb9d2f9c8a20ec5a1fabb" +source = "git+https://github.com/ruma/ruma?rev=22d288096e963b4973ecf2d7ffe8d63359f56f47#22d288096e963b4973ecf2d7ffe8d63359f56f47" dependencies = [ "assign", "js_int", @@ -4829,8 +4828,7 @@ dependencies = [ [[package]] name = "ruma-client-api" version = "0.22.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbc977d1a91ea15dcf896cbd7005ed4a253784468833638998109ffceaee53e7" +source = "git+https://github.com/ruma/ruma?rev=22d288096e963b4973ecf2d7ffe8d63359f56f47#22d288096e963b4973ecf2d7ffe8d63359f56f47" dependencies = [ "as_variant", "assign", @@ -4853,8 +4851,7 @@ dependencies = [ [[package]] name = "ruma-common" version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a01993f22d291320b7c9267675e7395775e95269ff526e2c8c3ed5e13175b" +source = "git+https://github.com/ruma/ruma?rev=22d288096e963b4973ecf2d7ffe8d63359f56f47#22d288096e963b4973ecf2d7ffe8d63359f56f47" dependencies = [ "as_variant", "base64", @@ -4887,8 +4884,7 @@ dependencies = [ [[package]] name = "ruma-events" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dbdeccb62cb4ffe3282325de8ba28cbc0fdce7c78a3f11b7241fbfdb9cb9907" +source = "git+https://github.com/ruma/ruma?rev=22d288096e963b4973ecf2d7ffe8d63359f56f47#22d288096e963b4973ecf2d7ffe8d63359f56f47" dependencies = [ "as_variant", "indexmap", @@ -4915,8 +4911,7 @@ dependencies = [ [[package]] name = "ruma-federation-api" version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb45c15badbf4299c6113a6b90df3e7cb64edbe756bbd8e0224144b56b38305" +source = "git+https://github.com/ruma/ruma?rev=22d288096e963b4973ecf2d7ffe8d63359f56f47#22d288096e963b4973ecf2d7ffe8d63359f56f47" dependencies = [ "headers", "http", @@ -4937,8 +4932,7 @@ dependencies = [ [[package]] name = "ruma-html" version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6dcd6e9823e177d15460d3cd3a413f38a2beea381f26aca1001c05cd6954ff" +source = "git+https://github.com/ruma/ruma?rev=22d288096e963b4973ecf2d7ffe8d63359f56f47#22d288096e963b4973ecf2d7ffe8d63359f56f47" dependencies = [ "as_variant", "html5ever", @@ -4949,8 +4943,7 @@ dependencies = [ [[package]] name = "ruma-identifiers-validation" version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9c6b5643060beec0fc9d7acfb41d2c5d91e1591db440ff62361d178e77c35fe" +source = "git+https://github.com/ruma/ruma?rev=22d288096e963b4973ecf2d7ffe8d63359f56f47#22d288096e963b4973ecf2d7ffe8d63359f56f47" dependencies = [ "js_int", "thiserror 2.0.17", @@ -4959,8 +4952,7 @@ dependencies = [ [[package]] name = "ruma-macros" version = "0.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a0753312ad577ac462de1742bf2e326b6ba9856ff6f13343aeb17d423fd5426" +source = "git+https://github.com/ruma/ruma?rev=22d288096e963b4973ecf2d7ffe8d63359f56f47#22d288096e963b4973ecf2d7ffe8d63359f56f47" dependencies = [ "as_variant", "cfg-if", @@ -4976,8 +4968,7 @@ dependencies = [ [[package]] name = "ruma-signatures" version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146ace2cd59b60ec80d3e801a84e7e6a91e3e01d18a9f5d896ea7ca16a6b8e08" +source = "git+https://github.com/ruma/ruma?rev=22d288096e963b4973ecf2d7ffe8d63359f56f47#22d288096e963b4973ecf2d7ffe8d63359f56f47" dependencies = [ "base64", "ed25519-dalek", diff --git a/Cargo.toml b/Cargo.toml index f8441bd15..9785fbe65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -203,6 +203,7 @@ lto = false [patch.crates-io] async-compat = { git = "https://github.com/element-hq/async-compat", rev = "5a27c8b290f1f1dcfc0c4ec22c464e38528aa591" } const_panic = { git = "https://github.com/jplatte/const_panic", rev = "9024a4cb3eac45c1d2d980f17aaee287b17be498" } +ruma = { git = "https://github.com/ruma/ruma", rev = "22d288096e963b4973ecf2d7ffe8d63359f56f47" } # Needed to fix rotation log issue on Android (https://github.com/tokio-rs/tracing/issues/2937) tracing = { git = "https://github.com/tokio-rs/tracing.git", rev = "20f5b3d8ba057ca9c4ae00ad30dda3dce8a71c05" } tracing-core = { git = "https://github.com/tokio-rs/tracing.git", rev = "20f5b3d8ba057ca9c4ae00ad30dda3dce8a71c05" }