Skip to content

Commit

Permalink
chore: update libp2p dependency from version 0.54.1 to 0.55.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tqwewe committed Jan 20, 2025
1 parent bbc50d5 commit 476a1d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ kameo_macros = { version = "0.14.0", path = "./macros", optional = true }
dyn-clone = "1.0"
futures = "0.3"
internment = { version = "0.8.5", features = ["serde"], optional = true }
libp2p = { version = "0.54.1", features = ["cbor", "dns", "kad", "mdns", "macros", "quic", "request-response", "rsa", "serde", "tokio"], optional = true }
libp2p = { version = "0.55.0", features = ["cbor", "dns", "kad", "mdns", "macros", "quic", "request-response", "rsa", "serde", "tokio"], optional = true }
libp2p-identity = { version = "0.2.9", features = ["rand", "rsa"], optional = true }
linkme = { version= "0.3.28", optional = true }
once_cell = "1.19"
Expand Down
8 changes: 3 additions & 5 deletions src/remote/swarm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -826,13 +826,11 @@ impl ActorSwarmHandler {
},
ActorSwarmEvent::Behaviour(ActorSwarmBehaviourEvent::RequestResponse(
request_response::Event::Message {
peer: _,
message:
request_response::Message::Request {
request_id: _,
request,
channel,
request, channel, ..
},
..
},
)) => match request {
SwarmRequest::Ask {
Expand Down Expand Up @@ -931,12 +929,12 @@ impl ActorSwarmHandler {
},
ActorSwarmEvent::Behaviour(ActorSwarmBehaviourEvent::RequestResponse(
request_response::Event::Message {
peer: _,
message:
request_response::Message::Response {
request_id,
response,
},
..
},
)) => {
if let Some(tx) = self.requests.remove(&request_id) {
Expand Down

0 comments on commit 476a1d3

Please sign in to comment.