Skip to content

Commit a756ff7

Browse files
authored
Merge pull request #115 from silicon-heaven/dependabot/cargo/cargo-minor-patch-84e3072791
Update shvbroker requirement from =3.27.1 to =3.27.4 in the cargo-minor-patch group
2 parents ce6f850 + 1f534e5 commit a756ff7

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "shvclient"
33
description = "A Rust framework for Silicon Heaven RPC devices"
44
license = "MIT"
55
repository = "https://github.com/silicon-heaven/libshvclient-rs"
6-
version = "5.1.2"
6+
version = "5.1.3"
77
edition = "2024"
88

99
[lib]
@@ -28,7 +28,7 @@ path = "tests/ssl.rs"
2828
clap = { version = "4.4", features = ["derive"] }
2929
simple_logger = { version = "5.0.0", features = ["stderr"] }
3030
generics-alias = { git = "https://github.com/j4r0u53k/generics-alias-rs.git", branch = "main" }
31-
shvbroker = "=3.27.1"
31+
shvbroker = "=3.27.4"
3232
rcgen = "0.14.5"
3333
tempfile = "3.23.0"
3434
smol = "2.0.2"

src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ impl<V: ClientVariant> Client<V> {
561561
if subscr.sender.unbounded_send(frame).is_err() {
562562
warn!(
563563
"Notification channel for RI `{}`, id `{}` closed while the subscription is still active",
564-
&subscr.glob.as_ri(), subscr.subscr_id
564+
subscr.glob.as_ri(), subscr.subscr_id
565565
);
566566
}
567567
}
@@ -916,7 +916,7 @@ mod tests {
916916
) {
917917
let received_msg = receive_notification(notify_rx)
918918
.timeout(Duration::from_millis(3000)).await
919-
.unwrap_or_else(|_| panic!("Notification for path `{:?}`, signal `{:?}`, param `{:?}` not received", &path, &method, &param));
919+
.unwrap_or_else(|_| panic!("Notification for path `{path:?}`, signal `{method:?}`, param `{param:?}` not received"));
920920
assert!(received_msg.is_signal());
921921
assert_eq!(received_msg.shv_path(), path);
922922
assert_eq!(received_msg.method(), method);

src/clientapi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl Drop for Subscriber {
7373

7474
if let Err(err) = self.client_cmd_tx.unbounded_send(
7575
ClientCommand::Unsubscribe { subscription_id: self.subscription_id, }) {
76-
warn!("Cannot unsubscribe `{}`: {err}", &self.ri);
76+
warn!("Cannot unsubscribe `{}`: {err}", self.ri);
7777
}
7878
}
7979
}

0 commit comments

Comments
 (0)