From 46dbc0a3485f1d5d7624a0e450d51f4866a840ff Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 22 Nov 2026 11:59:05 +0000 Subject: Cargo.toml: libp2p-stream from tv's fork, with accept_with_buffer libp2p-stream 0.5.0-alpha (rust-libp2p 7171dce) with Control::accept_with_buffer, as rust-libp2p's open PR 6637 adds it, from github.com/4z3/rust-libp2p, branch v0.57.0-tv (04d79c3): its libp2p-core, -identity and -swarm from crates.io, as the published crate has them, so that it works with ours. Dropped once a release has it. --- Cargo.lock | 3 +-- Cargo.toml | 5 +++++ 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" } -- cgit v1.3.1