Skip to content

Commit a625e88

Browse files
feat: update to [email protected]
* feat: update to [email protected] Depends on - n0-computer/iroh-gossip#14 - https://github.com/n0-computer/iroh-blobs/pulls * update quic-rpc * update quic-rpc * update to released gossip * update to released versions * fixup feature flags
1 parent 0ac3fbe commit a625e88

File tree

9 files changed

+187
-248
lines changed

9 files changed

+187
-248
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 9 additions & 16 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 = "0.28.0"
39-
iroh-blobs = { version = "0.28.0", optional = true, features = ["downloader"] }
40-
iroh-gossip = { version = "0.28.0", optional = true }
41-
iroh-metrics = { version = "0.28.0", default-features = false }
42-
iroh = { version = "0.28", optional = true }
38+
iroh-base = { version = "0.29" }
39+
iroh-blobs = { version = "0.29.0", optional = true, features = ["downloader"] }
40+
iroh-gossip = { version = "0.29.0", optional = true }
41+
iroh-metrics = { version = "0.29.0", default-features = false }
42+
iroh = { version = "0.29", 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"
@@ -58,8 +58,8 @@ tracing = "0.1"
5858

5959
# rpc
6060
nested_enum_utils = { version = "0.1.0", optional = true }
61-
quic-rpc = { version = "0.15.1", optional = true }
62-
quic-rpc-derive = { version = "0.15", optional = true }
61+
quic-rpc = { version = "0.17", optional = true }
62+
quic-rpc-derive = { version = "0.17", optional = true }
6363
serde-error = { version = "0.1.3", optional = true }
6464
portable-atomic = { version = "1.9.0", optional = true }
6565

@@ -72,7 +72,7 @@ colored = { version = "2.1", optional = true }
7272
shellexpand = { version = "3.1", optional = true }
7373

7474
[dev-dependencies]
75-
iroh-test = "0.28.0"
75+
iroh-test = "0.29"
7676
rand_chacha = "0.3.1"
7777
tokio = { version = "1", features = ["sync", "macros"] }
7878
proptest = "1.2.0"
@@ -92,7 +92,7 @@ net = ["dep:iroh", "tokio/io-util", "dep:tokio-stream", "dep:tokio-util"]
9292
metrics = ["iroh-metrics/metrics", "iroh/metrics"]
9393
engine = ["net", "dep:iroh-gossip", "dep:iroh-blobs"]
9494
test-utils = ["iroh/test-utils"]
95-
cli = ["rpc", "dep:clap", "dep:indicatif", "dep:console", "dep:colored", "dep:dialoguer", "dep:shellexpand", "iroh-blobs/rpc"]
95+
cli = ["rpc", "dep:clap", "dep:indicatif", "dep:console", "dep:colored", "dep:dialoguer", "dep:shellexpand", "iroh-blobs/rpc", "iroh-base/base32"]
9696
rpc = [
9797
"engine",
9898
"dep:nested_enum_utils",
@@ -105,10 +105,3 @@ rpc = [
105105
[package.metadata.docs.rs]
106106
all-features = true
107107
rustdoc-args = ["--cfg", "iroh_docsrs"]
108-
109-
[patch.crates-io]
110-
iroh-metrics = { git = "https://github.com/n0-computer/iroh", branch = "main" }
111-
iroh-base = { git = "https://github.com/n0-computer/iroh", branch = "main" }
112-
iroh = { git = "https://github.com/n0-computer/iroh", branch = "main" }
113-
iroh-blobs = { git = "https://github.com/n0-computer/iroh-blobs", branch = "main" }
114-
iroh-gossip = { git = "https://github.com/n0-computer/iroh-gossip", branch = "main" }

deny.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,4 @@ ignore = [
3737
]
3838

3939
[sources]
40-
allow-git = [
41-
"https://github.com/n0-computer/iroh.git",
42-
"https://github.com/n0-computer/iroh-blobs.git",
43-
"https://github.com/n0-computer/iroh-gossip.git",
44-
]
40+
allow-git = []

src/cli.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ use dialoguer::Confirm;
1818
use futures_buffered::BufferedStreamExt;
1919
use futures_lite::{Stream, StreamExt};
2020
use indicatif::{HumanBytes, HumanDuration, MultiProgress, ProgressBar, ProgressStyle};
21-
use iroh_base::{base32::fmt_short, hash::Hash, node_addr::AddrInfoOptions};
21+
use iroh::{hash::Hash, AddrInfoOptions};
22+
use iroh_base::base32::fmt_short;
2223
use iroh_blobs::{
2324
provider::AddProgress,
2425
rpc::client::blobs::{self, WrapOption},

src/net/codec.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,7 @@ impl BobState {
294294
#[cfg(test)]
295295
mod tests {
296296
use anyhow::Result;
297-
use iroh::key::SecretKey;
298-
use iroh_base::hash::Hash;
297+
use iroh::{hash::Hash, key::SecretKey};
299298
use rand_core::{CryptoRngCore, SeedableRng};
300299

301300
use super::*;

src/rpc/client/docs.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ use anyhow::{anyhow, Context as _, Result};
1212
use bytes::Bytes;
1313
use derive_more::{Display, FromStr};
1414
use futures_lite::{Stream, StreamExt};
15-
use iroh::NodeAddr;
16-
use iroh_base::node_addr::AddrInfoOptions;
15+
use iroh::{AddrInfoOptions, NodeAddr};
1716
use iroh_blobs::{export::ExportProgress, store::ExportMode, Hash};
1817
use portable_atomic::{AtomicBool, Ordering};
1918
use quic_rpc::{

src/rpc/proto.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
use std::path::PathBuf;
44

55
use bytes::Bytes;
6-
use iroh::NodeAddr;
7-
use iroh_base::node_addr::AddrInfoOptions;
6+
use iroh::{AddrInfoOptions, NodeAddr};
87
use iroh_blobs::{export::ExportProgress, store::ExportMode, Hash};
98
use nested_enum_utils::enum_conversions;
109
use quic_rpc::pattern::try_server_streaming::StreamCreated;

src/ticket.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! Tickets for [`iroh-docs`] documents.
22
3-
use iroh::NodeAddr;
4-
use iroh_base::ticket;
3+
use iroh::{ticket, NodeAddr};
54
use serde::{Deserialize, Serialize};
65

76
use crate::Capability;

tests/sync.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ use futures_lite::Stream;
1212
use futures_util::{FutureExt, StreamExt, TryStreamExt};
1313
use iroh::{
1414
key::{PublicKey, SecretKey},
15-
RelayMode,
15+
AddrInfoOptions, RelayMode,
1616
};
17-
use iroh_base::node_addr::AddrInfoOptions;
1817
use iroh_blobs::Hash;
1918
use iroh_docs::{
2019
rpc::client::docs::{Doc, Entry, LiveEvent, ShareMode},

0 commit comments

Comments
 (0)