Skip to content

Commit 3320184

Browse files
authored
RSDK-3004 - switch to viam-mdns (#45)
1 parent f6b659c commit 3320184

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ interceptor = "0.8.0"
3030
interfaces = "0.0.8"
3131
libc = {version = "0.2"}
3232
log = "0.4.17"
33-
# TODO: We are using a commit hash to include a bug fix that has not yet been
34-
# merged in a crate. Once the new crate is released, please use that instead
35-
# of the git revision below. As of this comment the latest version is `3.0.0`.
36-
mdns = { git = "https://github.com/stuqdog/mdns.git", rev = "5d85dc4bf60e4a7f665d797d3f30d7216118dd3b" }
3733
nalgebra = "0.31.4"
3834
prost = "0.10"
3935
prost-types = "0.10"
@@ -48,6 +44,7 @@ tower = { version = "0.4" }
4844
tower-http = { version = "0.3.3", features = ["add-extension","auth","propagate-header","set-header","sensitive-headers","trace","compression-gzip"]}
4945
tracing = {version = "0.1.34"}
5046
tracing-subscriber = {version = "0.3.11", features = ["env-filter"]}
47+
viam-mdns = "3.0.1"
5148
webpki-roots = "0.21.1"
5249
webrtc = "0.7.2"
5350

src/rpc/dial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use ::http::{
2323
uri::{Authority, Parts, PathAndQuery, Scheme},
2424
HeaderValue, Version,
2525
};
26-
use ::mdns::{discover, Response};
26+
use ::viam_mdns::{discover, Response};
2727
use ::webrtc::ice_transport::ice_candidate::{RTCIceCandidate, RTCIceCandidateInit};
2828
use ::webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
2929
use anyhow::{Context, Result};

0 commit comments

Comments
 (0)