Skip to content

Commit

Permalink
chore: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Mar 10, 2023
1 parent 7394040 commit bbd8cdd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ keywords = ["wot", "WebofThings"]

[dependencies]
wot-td = "0.2.0"
mdns-sd = "0.5.1"
mdns-sd = "0.6"
thiserror = "1.0"
if-addrs = "0.7"
if-addrs = "0.10.1"
hostname = "0.3"
axum = "0.6"
axum = "0.6.10"
serde = "1.0.141"
serde_json = "1.0.83"
uuid = { version = "1.1.2", features = ["v4"] }
Expand Down
12 changes: 6 additions & 6 deletions src/advertise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ mod test {
|b| b.hostname("testhost"),
|info| {
let props = info.get_properties();
assert_eq!(props["td"], WELL_KNOWN);
assert_eq!(props["type"], "Thing");
assert_eq!(props.get_property_val("td"), Some(WELL_KNOWN));
assert_eq!(props.get_property_val("type"), Some("Thing"));
assert_eq!(info.get_hostname(), "testhost.");
},
);
Expand All @@ -236,8 +236,8 @@ mod test {
|b| b.path("/test/path"),
|info| {
let props = info.get_properties();
assert_eq!(props["td"], "/test/path");
assert_eq!(props["type"], "Thing");
assert_eq!(props.get_property_val("td"), Some("/test/path"));
assert_eq!(props.get_property_val("type"), Some("Thing"));
},
);
}
Expand All @@ -250,8 +250,8 @@ mod test {
|b| b.thing_type(ThingType::Directory),
|info| {
let props = info.get_properties();
assert_eq!(props["td"], WELL_KNOWN);
assert_eq!(props["type"], "Directory");
assert_eq!(props.get_property_val("td"), Some(WELL_KNOWN));
assert_eq!(props.get_property_val("type"), Some("Directory"));
},
);
}
Expand Down

0 comments on commit bbd8cdd

Please sign in to comment.