From 2b802299272bc05ec89d9fba943b26ae44f28117 Mon Sep 17 00:00:00 2001 From: Kasey Date: Tue, 25 Feb 2025 11:05:48 -0500 Subject: [PATCH] chore: patch to use main branch of iroh dependencies (#27) This PR updates the following dependencies to use their main branches: - `iroh` from `https://github.com/n0-computer/iroh.git` - `iroh-base` from `https://github.com/n0-computer/iroh.git` - `iroh-relay` from `https://github.com/n0-computer/iroh.git` - `iroh-net-report` from `https://github.com/n0-computer/iroh.git` --- Cargo.lock | 13 ++++--------- Cargo.toml | 6 ++++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9d1caed..2ba1b2e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1867,8 +1867,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", @@ -1926,14 +1925,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", @@ -2006,8 +2003,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", @@ -2090,8 +2086,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", diff --git a/Cargo.toml b/Cargo.toml index fe21b50..50a8444 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,3 +49,9 @@ webpki-roots = "0.26" [dev-dependencies] iroh-base = "0.33" url = "2.5.2" + +[patch.crates-io] +iroh = { git = "https://github.com/n0-computer/iroh.git", branch = "main" } +iroh-base = { git = "https://github.com/n0-computer/iroh.git", branch = "main" } +iroh-relay = { git = "https://github.com/n0-computer/iroh.git", branch = "main" } +iroh-net-report = { git = "https://github.com/n0-computer/iroh.git", branch = "main" }