Skip to content

Commit aae50aa

Browse files
committed
chore: update libmdns to 0.10.1
1 parent 987dfa5 commit aae50aa

File tree

3 files changed

+15
-28
lines changed

3 files changed

+15
-28
lines changed

Cargo.lock

Lines changed: 12 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

discovery/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ hyper-util = { version = "0.1", features = [
4141
"server-graceful",
4242
"service",
4343
] }
44-
libmdns = { version = "0.9", optional = true }
44+
libmdns = { version = "0.10", optional = true }
4545
log = "0.4"
4646
rand = "0.9"
4747
serde = { version = "1", default-features = false, features = [

discovery/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,8 @@ fn launch_libmdns(
407407
.map_err(|e| DiscoveryError::DnsSdError(Box::new(e)))?;
408408

409409
let svc = responder.register(
410-
DNS_SD_SERVICE_NAME.to_owned(),
411-
name.into_owned(),
410+
&DNS_SD_SERVICE_NAME,
411+
&name,
412412
port,
413413
&TXT_RECORD,
414414
);

0 commit comments

Comments
 (0)