From 8117a0f505403f31032fcf35eb57634ff540e513 Mon Sep 17 00:00:00 2001 From: jasl Date: Mon, 1 Aug 2022 16:10:57 +0800 Subject: [PATCH] Testing https://github.com/libp2p/rust-yamux/pull/138 --- Cargo.lock | 3 +-- Cargo.toml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d59e40b9..540c47e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12960,8 +12960,7 @@ dependencies = [ [[package]] name = "yamux" version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c0608f53c1dc0bad505d03a34bbd49fbf2ad7b51eb036123e896365532745a1" +source = "git+https://github.com/mxinden/yamux?branch=next-result-immediately#96ef87c3f3614adc84709fa3c3d84873f574825a" dependencies = [ "futures", "log", diff --git a/Cargo.toml b/Cargo.toml index 7e8ccc5d..4b09fd66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,3 +57,6 @@ polkadot-service = { path = "polkadot/node/service" } [patch.crates-io] memory-lru = { git = "https://github.com/paritytech/memory-lru" } # TODO: REMOVE after it releases new version + +# TODO: https://github.com/libp2p/rust-yamux/pull/138 +yamux = { git = 'https://github.com/mxinden/yamux', branch = "next-result-immediately" }