Skip to content

Commit 5a61b6b

Browse files
authored
Fix warnings and bump libp2p (#232)
1 parent f0220e2 commit 5a61b6b

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "discv5"
33
authors = ["Age Manning <[email protected]>"]
44
edition = "2018"
5-
version = "0.4.0"
5+
version = "0.4.1"
66
description = "Implementation of the p2p discv5 discovery protocol"
77
license = "Apache-2.0"
88
repository = "https://github.com/sigp/discv5"
@@ -14,7 +14,7 @@ exclude = [".gitignore", ".github/*"]
1414
[dependencies]
1515
enr = { version = "0.10", features = ["k256", "ed25519"] }
1616
tokio = { version = "1", features = ["net", "sync", "macros", "rt"] }
17-
libp2p = { version = "0.52", features = ["ed25519", "secp256k1"], optional = true }
17+
libp2p = { version = "0.53", features = ["ed25519", "secp256k1"], optional = true }
1818
zeroize = { version = "1", features = ["zeroize_derive"] }
1919
futures = "0.3"
2020
uint = { version = "0.9", default-features = false }

src/handler/request_call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pub use crate::node_info::{NodeAddress, NodeContact};
1+
pub use crate::node_info::NodeContact;
22
use crate::{
33
packet::Packet,
44
rpc::{Request, RequestBody},

src/kbucket/entry.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
//! representing the nodes participating in the Kademlia DHT.
2626
2727
pub use super::{
28-
bucket::{
29-
AppliedPending, ConnectionState, InsertResult, Node, NodeStatus, MAX_NODES_PER_BUCKET,
30-
},
28+
bucket::{AppliedPending, ConnectionState, InsertResult, Node, NodeStatus},
3129
key::*,
3230
ConnectionDirection,
3331
};

0 commit comments

Comments
 (0)