Skip to content

Commit 3d3b548

Browse files
committed
chore: bump rand dependency to 0.10
1 parent 34be55e commit 3d3b548

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2024"
1414
eetf = "0.11"
1515
futures = "0.3"
1616
md5 = "0.8"
17-
rand = "0.9"
17+
rand = "0.10"
1818

1919
[dev-dependencies]
2020
noargs = "0.4.1"

examples/epmd_cli.rs

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,21 @@ fn main() -> noargs::Result<()> {
111111
f.member("port", node_info.port)?;
112112
f.member(
113113
"node_type",
114-
format!("{:?} ({})", node_info.node_type, u8::from(node_info.node_type))
115-
.as_str(),
114+
format!(
115+
"{:?} ({})",
116+
node_info.node_type,
117+
u8::from(node_info.node_type)
118+
)
119+
.as_str(),
116120
)?;
117121
f.member(
118122
"protocol",
119-
format!("{:?} ({})", node_info.protocol, u8::from(node_info.protocol))
120-
.as_str(),
123+
format!(
124+
"{:?} ({})",
125+
node_info.protocol,
126+
u8::from(node_info.protocol)
127+
)
128+
.as_str(),
121129
)?;
122130
f.member("highest_version", node_info.highest_version)?;
123131
f.member("lowest_version", node_info.lowest_version)?;

0 commit comments

Comments
 (0)