*: Update to libp2p v0.34.0 (#7888)

* *: Update to libp2p v0.34.0

* client/network: Update bytes, unsigned-varint and asynchronous-codec

* client: Update to prost v0.7
This commit is contained in:
Max Inden
2021-01-15 10:55:42 +01:00
committed by GitHub
parent 3ee8b66e7d
commit 3927b649cb
13 changed files with 162 additions and 169 deletions
@@ -19,7 +19,7 @@
use crate::config::ProtocolId;
use bytes::BytesMut;
use futures::prelude::*;
use futures_codec::Framed;
use asynchronous_codec::Framed;
use libp2p::core::{UpgradeInfo, InboundUpgrade, OutboundUpgrade, upgrade::ProtocolName};
use parking_lot::RwLock;
use std::{collections::VecDeque, io, pin::Pin, sync::Arc, vec::IntoIter as VecIntoIter};
@@ -38,7 +38,7 @@
use bytes::BytesMut;
use futures::prelude::*;
use futures_codec::Framed;
use asynchronous_codec::Framed;
use libp2p::core::{UpgradeInfo, InboundUpgrade, OutboundUpgrade, upgrade};
use log::error;
use std::{borrow::Cow, convert::Infallible, io, iter, mem, pin::Pin, task::{Context, Poll}};