Skip to content

Commit 911a8cc

Browse files
authored
chore: upgrade to latest iroh, iroh-gossip and iroh-blobs (#36)
1 parent 8c6951a commit 911a8cc

File tree

3 files changed

+40
-71
lines changed

3 files changed

+40
-71
lines changed

Cargo.lock

Lines changed: 35 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ futures-buffered = "0.2.4"
3535
futures-lite = "2.3.0"
3636
futures-util = { version = "0.3.25" }
3737
hex = "0.4"
38-
iroh-base = { version = "0.32", features = ["ticket"] }
39-
iroh-blobs = { version = "0.32" }
40-
iroh-gossip = { version = "0.32", optional = true, features = ["net"] }
38+
iroh-base = { version = "0.33", features = ["ticket"] }
39+
iroh-blobs = { version = "0.33" }
40+
iroh-gossip = { version = "0.33", optional = true, features = ["net"] }
4141
iroh-metrics = { version = "0.31", default-features = false }
42-
iroh = { version = "0.32", optional = true }
42+
iroh = { version = "0.33", optional = true }
4343
num_enum = "0.7"
4444
postcard = { version = "1", default-features = false, features = ["alloc", "use-std", "experimental-derive"] }
4545
rand = "0.8.5"
@@ -117,10 +117,3 @@ rpc = [
117117
[package.metadata.docs.rs]
118118
all-features = true
119119
rustdoc-args = ["--cfg", "iroh_docsrs"]
120-
121-
[patch.crates-io]
122-
iroh = { git = "https://github.com/n0-computer/iroh.git", branch = "main" }
123-
quic-rpc = { git = "https://github.com/n0-computer/quic-rpc.git", branch = "main" }
124-
iroh-base = { git = "https://github.com/n0-computer/iroh.git", branch = "main" }
125-
iroh-gossip = { git = "https://github.com/n0-computer/iroh-gossip.git", branch = "main" }
126-
iroh-blobs = { git = "https://github.com/n0-computer/iroh-blobs.git", branch = "main" }

src/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ where
511511
/// Create the initial message for the set reconciliation flow with a remote peer.
512512
pub fn sync_initial_message(&mut self) -> anyhow::Result<crate::ranger::Message<SignedEntry>> {
513513
self.info.ensure_open().map_err(anyhow::Error::from)?;
514-
self.store.initial_message().map_err(Into::into)
514+
self.store.initial_message()
515515
}
516516

517517
/// Process a set reconciliation message from a remote peer.

0 commit comments

Comments
 (0)