339: Bump dependency versions r=thomaseizinger a=thomaseizinger

Otherwise it will take a long time for dependabot to update all of
these.

Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
This commit is contained in:
bors[bot] 2021-03-23 00:09:49 +00:00 committed by GitHub
commit 968502827a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 424 additions and 410 deletions

View file

@ -3,7 +3,7 @@ use libp2p::core::muxing::StreamMuxerBox;
use libp2p::core::transport::Boxed;
use libp2p::core::upgrade::{SelectUpgrade, Version};
use libp2p::core::{identity, Transport};
use libp2p::dns::DnsConfig;
use libp2p::dns::TokioDnsConfig;
use libp2p::mplex::MplexConfig;
use libp2p::noise::{self, NoiseConfig, X25519Spec};
use libp2p::{yamux, PeerId};
@ -20,7 +20,7 @@ pub fn build(id_keys: &identity::Keypair) -> Result<SwapTransport> {
let noise = NoiseConfig::xx(dh_keys).into_authenticated();
let tcp = TokioTcpConfig::new().nodelay(true);
let dns = DnsConfig::new(tcp)?;
let dns = TokioDnsConfig::system(tcp)?;
let transport = dns
.upgrade(Version::V1)