Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings and bump libp2p #232

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "discv5"
authors = ["Age Manning <[email protected]>"]
edition = "2018"
version = "0.4.0"
version = "0.4.1"
description = "Implementation of the p2p discv5 discovery protocol"
license = "Apache-2.0"
repository = "https://github.com/sigp/discv5"
Expand All @@ -14,7 +14,7 @@ exclude = [".gitignore", ".github/*"]
[dependencies]
enr = { version = "0.10", features = ["k256", "ed25519"] }
tokio = { version = "1", features = ["net", "sync", "macros", "rt"] }
libp2p = { version = "0.52", features = ["ed25519", "secp256k1"], optional = true }
libp2p = { version = "0.53", features = ["ed25519", "secp256k1"], optional = true }
zeroize = { version = "1", features = ["zeroize_derive"] }
futures = "0.3"
uint = { version = "0.9", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/handler/request_call.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub use crate::node_info::{NodeAddress, NodeContact};
pub use crate::node_info::NodeContact;
use crate::{
packet::Packet,
rpc::{Request, RequestBody},
Expand Down
4 changes: 1 addition & 3 deletions src/kbucket/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
//! representing the nodes participating in the Kademlia DHT.

pub use super::{
bucket::{
AppliedPending, ConnectionState, InsertResult, Node, NodeStatus, MAX_NODES_PER_BUCKET,
},
bucket::{AppliedPending, ConnectionState, InsertResult, Node, NodeStatus},
key::*,
ConnectionDirection,
};
Expand Down
Loading