Skip to content

Commit

Permalink
chore: upgrade to latest iroh, iroh-gossip and iroh-blobs (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramfox authored Feb 25, 2025
1 parent 8c6951a commit 911a8cc
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 71 deletions.
94 changes: 35 additions & 59 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 4 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ futures-buffered = "0.2.4"
futures-lite = "2.3.0"
futures-util = { version = "0.3.25" }
hex = "0.4"
iroh-base = { version = "0.32", features = ["ticket"] }
iroh-blobs = { version = "0.32" }
iroh-gossip = { version = "0.32", optional = true, features = ["net"] }
iroh-base = { version = "0.33", features = ["ticket"] }
iroh-blobs = { version = "0.33" }
iroh-gossip = { version = "0.33", optional = true, features = ["net"] }
iroh-metrics = { version = "0.31", default-features = false }
iroh = { version = "0.32", optional = true }
iroh = { version = "0.33", optional = true }
num_enum = "0.7"
postcard = { version = "1", default-features = false, features = ["alloc", "use-std", "experimental-derive"] }
rand = "0.8.5"
Expand Down Expand Up @@ -117,10 +117,3 @@ rpc = [
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "iroh_docsrs"]

[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" }
iroh-gossip = { git = "https://github.com/n0-computer/iroh-gossip.git", branch = "main" }
iroh-blobs = { git = "https://github.com/n0-computer/iroh-blobs.git", branch = "main" }
2 changes: 1 addition & 1 deletion src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ where
/// Create the initial message for the set reconciliation flow with a remote peer.
pub fn sync_initial_message(&mut self) -> anyhow::Result<crate::ranger::Message<SignedEntry>> {
self.info.ensure_open().map_err(anyhow::Error::from)?;
self.store.initial_message().map_err(Into::into)
self.store.initial_message()
}

/// Process a set reconciliation message from a remote peer.
Expand Down

0 comments on commit 911a8cc

Please sign in to comment.