Skip to content

Commit f1dd5f7

Browse files
feat: switch to [email protected]
Depends on my fork, because it needs libp2p/rust-libp2p#2658
1 parent 3e555bc commit f1dd5f7

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ members = [
1313
"iroh-util",
1414
"stores/*"
1515
]
16+
17+
[patch.crates-io]
18+
# TODO: switch to crates.io once 0.45 is released
19+
# libp2p = { git = "https://github.com/libp2p/rust-libp2p", branch = "master" }
20+
# TODO: switch to master once the PR gets merged
21+
libp2p = { git = "https://github.com/dignifiedquire/rust-libp2p", branch = "fix-dns-clone" }

iroh-bitswap/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tokio = { version = "1.0", features = ["sync"] }
1515
bytes = "1.1.0"
1616
cid = "0.8.0"
1717
futures = "0.3.5"
18-
libp2p = { version = "0.44", default-features = false }
18+
libp2p = { version = "0.45", default-features = false }
1919
multihash = "0.16.0"
2020
prost = "0.10"
2121
thiserror = "1.0.20"
@@ -26,7 +26,7 @@ tracing = "0.1.34"
2626
[dev-dependencies]
2727
criterion = "0.3.5"
2828
env_logger = "0.9"
29-
libp2p = { version = "0.44", features = ["yamux", "noise", "tcp-tokio"], default-features = false }
29+
libp2p = { version = "0.45", features = ["yamux", "noise", "tcp-tokio"], default-features = false }
3030
tokio = { version = "1.0", features = ["macros", "net", "rt"] }
3131
tokio-util = { version = "0.7", features = ["compat"] }
3232

iroh-gateway/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ opentelemetry = { version = "0.17.0", features = ["rt-tokio"] }
2828
time = "0.3.9"
2929
headers = "0.3.7"
3030
iroh-rpc-client = { path = "../iroh-rpc-client" }
31-
libp2p = "0.44.0"
31+
libp2p = "0.45.0"
3232
iroh-util = { path = "../iroh-util" }
3333
anyhow = "1"
3434
futures = "0.3.5"

iroh-p2p/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ names = { version = "0.13.0", default-features = false }
3737
git-version = "0.3.5"
3838

3939
[dependencies.libp2p]
40-
version = "0.44"
40+
version = "0.45"
4141
default-features = false
4242
features = [
4343
"gossipsub",

iroh-rpc-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ tonic = "0.7.2"
1616
prost = "0.10.3"
1717
anyhow = "1.0.57"
1818
bytes = "1.1.0"
19-
libp2p = "0.44.0"
19+
libp2p = "0.45.0"
2020
iroh-metrics = { path = "../iroh-metrics" }
2121
tracing = "0.1.34"

iroh-rpc-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "RPC type definitions for iroh"
99

1010

1111
[dependencies]
12-
libp2p = { version = "0.44.0", features = ["serde"] }
12+
libp2p = { version = "0.45.0", features = ["serde"] }
1313
cid = { version = "0.8.0", features = ["serde-codec"] }
1414
futures = "0.3.5"
1515
tonic = "0.7.2"

0 commit comments

Comments
 (0)