aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock3
-rw-r--r--Cargo.toml5
2 files changed, 6 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index f05ed48..94691ea 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3562,8 +3562,7 @@ dependencies = [
[[package]]
name = "libp2p-stream"
version = "0.5.0-alpha"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f601608210b097bfd4433de5fd262fdfddc89b70ebdb00fb7f2f10c2f5ffb677"
+source = "git+https://github.com/4z3/rust-libp2p?branch=v0.57.0-tv#04d79c3385cc546c28f4a9337bf831255807828c"
dependencies = [
"futures",
"libp2p-core",
diff --git a/Cargo.toml b/Cargo.toml
index 1b54ed6..e06ea1a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -105,3 +105,8 @@ debug = "line-tables-only"
[profile.dev.package."*"]
debug = false
opt-level = 2
+
+# libp2p-stream 0.5.0-alpha with Control::accept_with_buffer, as rust-libp2p's PR 6637 adds
+# it (src/transport/libp2p/mod.rs, WAITING): dropped once a release has it.
+[patch.crates-io]
+libp2p-stream = { git = "https://github.com/4z3/rust-libp2p", branch = "v0.57.0-tv" }