Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Cargo.toml: Update to libp2p v0.46.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Jul 7, 2022
1 parent 167b6dc commit 28820c2
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
58 changes: 29 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libp2p-lookup"
version = "0.5.0"
version = "0.6.0"
authors = ["Max Inden <mail@max-inden.de>"]
edition = "2021"
license = "MIT"
Expand All @@ -10,7 +10,7 @@ repository = "https://github.com/mxinden/libp2p-lookup"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
libp2p = { version = "0.45", default-features = false, features = ["dns-async-std", "noise", "tcp-async-io", "yamux", "identify", "kad", "ping", "mplex", "relay"] }
libp2p = { version = "0.46.1", default-features = false, features = ["dns-async-std", "noise", "tcp-async-io", "yamux", "identify", "kad", "ping", "mplex", "relay"] }
structopt = "0.3.26"
futures = "0.3.21"
env_logger = "0.9.0"
Expand Down
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ impl LookupClient {
let transport = {
let transport = OrTransport::new(
relay_transport,
block_on(dns::DnsConfig::system(
tcp::TcpConfig::new().port_reuse(true).nodelay(true),
))
block_on(dns::DnsConfig::system(tcp::TcpTransport::new(
tcp::GenTcpConfig::new().port_reuse(true).nodelay(true),
)))
.unwrap(),
);

Expand Down

0 comments on commit 28820c2

Please sign in to comment.