Skip to content

Commit 4688eea

Browse files
committed
chore: update iroh from 0.33.0 to 0.34.0
1 parent df24532 commit 4688eea

File tree

5 files changed

+74
-33
lines changed

5 files changed

+74
-33
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ humansize = "2"
6262
hyper = "1"
6363
hyper-util = "0.1.10"
6464
image = { version = "0.25.5", default-features=false, features = ["gif", "jpeg", "ico", "png", "pnm", "webp", "bmp"] }
65-
iroh-gossip = { version = "0.33", default-features = false, features = ["net"] }
66-
iroh = { version = "0.33", default-features = false }
65+
iroh-gossip = { version = "0.34", default-features = false, features = ["net"] }
66+
iroh = { version = "0.34", default-features = false }
6767
kamadak-exif = "0.6.1"
6868
libc = { workspace = true }
6969
mail-builder = { version = "0.4.2", default-features = false }

deny.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ ignore = [
1010
# Unmaintained instant
1111
"RUSTSEC-2024-0384",
1212

13-
# Unmaintained backoff
14-
"RUSTSEC-2025-0012",
15-
1613
# Unmaintained paste
1714
"RUSTSEC-2024-0436",
1815
]
@@ -35,6 +32,7 @@ skip = [
3532
{ name = "http", version = "0.2.12" },
3633
{ name = "loom", version = "0.5.6" },
3734
{ name = "netlink-packet-route", version = "0.17.1" },
35+
{ name = "netwatch", version = "0.3.0" },
3836
{ name = "nix", version = "0.26.4" },
3937
{ name = "nix", version = "0.27.1" },
4038
{ name = "rand_chacha", version = "0.3.1" },

src/imex/transfer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ impl BackupProvider {
9595
pub async fn prepare(context: &Context) -> Result<Self> {
9696
let relay_mode = RelayMode::Disabled;
9797
let endpoint = Endpoint::builder()
98+
.tls_x509() // For compatibility with iroh <0.34.0
9899
.alpns(vec![BACKUP_ALPN.to_vec()])
99100
.relay_mode(relay_mode)
100101
.bind()

src/peer_channels.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ impl Context {
253253
};
254254

255255
let endpoint = Endpoint::builder()
256+
.tls_x509() // For compatibility with iroh <0.34.0
256257
.secret_key(secret_key)
257258
.alpns(vec![GOSSIP_ALPN.to_vec()])
258259
.relay_mode(relay_mode)

0 commit comments

Comments
 (0)