From f21242148c8ad3d041fd90da47bab4e2ad9c4036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cramfox=E2=80=9D?= <“kasey@n0.computer”> Date: Tue, 25 Feb 2025 10:53:35 -0500 Subject: [PATCH 1/2] chore: add patch for `iroh` dependencies This PR updates the following dependencies to use their main branches: - `iroh` from `https://github.com/n0-computer/iroh.git` - `quic-rpc` from `https://github.com/n0-computer/quic-rpc.git` - `iroh-base` from `https://github.com/n0-computer/iroh.git` --- Cargo.lock | 16 +++++----------- Cargo.toml | 5 +++++ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 46e9f7897..9e888d5ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1985,8 +1985,7 @@ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "iroh" version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4ffd6af2e000f04972068c0318e0d8fa90ee9cfcb2bc6124db38591500e0278" +source = "git+https://github.com/n0-computer/iroh.git?branch=main#0c7a1227cf1b9f640145c059c7581f2c502e6691" dependencies = [ "aead", "anyhow", @@ -2046,14 +2045,12 @@ dependencies = [ [[package]] name = "iroh-base" version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "011d271a95b41218d22bdaf3352f29ef1dd7d6be644ca8543941655bec5f3d35" +source = "git+https://github.com/n0-computer/iroh.git?branch=main#0c7a1227cf1b9f640145c059c7581f2c502e6691" dependencies = [ "curve25519-dalek", "data-encoding", "derive_more", "ed25519-dalek", - "getrandom 0.2.15", "postcard", "rand_core 0.6.4", "serde", @@ -2172,8 +2169,7 @@ dependencies = [ [[package]] name = "iroh-net-report" version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d2652f42eadc63458e36c0a422569f338639dc0b5bb469db0eb4a382b4e295c" +source = "git+https://github.com/n0-computer/iroh.git?branch=main#0c7a1227cf1b9f640145c059c7581f2c502e6691" dependencies = [ "anyhow", "bytes", @@ -2256,8 +2252,7 @@ dependencies = [ [[package]] name = "iroh-relay" version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c930ccc4dfd0196b531344e3d0f83a0f82c45b170406e04a2491cba571faec5b" +source = "git+https://github.com/n0-computer/iroh.git?branch=main#0c7a1227cf1b9f640145c059c7581f2c502e6691" dependencies = [ "anyhow", "bytes", @@ -3429,8 +3424,7 @@ dependencies = [ [[package]] name = "quic-rpc" version = "0.18.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1ac46017d97c2ee3a7013c256a8ed00748b685ad8235f52245eb894706959c5" +source = "git+https://github.com/n0-computer/quic-rpc.git?branch=main#ec27edbc1cba730d8bf54a61be06ffc62df3948e" dependencies = [ "anyhow", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 0a041bf9b..f77b823ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -184,3 +184,8 @@ debug-assertions = false opt-level = 3 panic = 'abort' incremental = false + +[patch.crates-io] +iroh = { git = "https://github.com/n0-computer/iroh.git", branch = "main" } +quic-rpc = { git = "https://github.com/n0-computer/quic-rpc.git", branch = "main" } +iroh-base = { git = "https://github.com/n0-computer/iroh.git", branch = "main" } From 1456e7795d5ea8199e80e8c9594eab04442469aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cramfox=E2=80=9D?= <“kasey@n0.computer”> Date: Tue, 25 Feb 2025 11:11:53 -0500 Subject: [PATCH 2/2] update deny --- deny.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deny.toml b/deny.toml index b05392dcb..68c25eb94 100644 --- a/deny.toml +++ b/deny.toml @@ -34,3 +34,6 @@ ignore = [ "RUSTSEC-2024-0370", # unmaintained, no upgrade available "RUSTSEC-2024-0384", # unmaintained, no upgrade available ] + +[sources] +allow-git = ["https://github.com/n0-computer/iroh.git", "https://github.com/n0-computer/quic-rpc.git"]