advertise self over mdns

This commit is contained in:
Robin Appelman 2021-12-12 15:39:14 +01:00
commit f8684de7f5
3 changed files with 60 additions and 0 deletions

49
Cargo.lock generated
View file

@ -553,6 +553,27 @@ dependencies = [
"unicode-normalization",
]
[[package]]
name = "if-addrs"
version = "0.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2273e421f7c4f0fc99e1934fe4776f59d8df2972f4199d703fc0da9f2a9f73de"
dependencies = [
"if-addrs-sys",
"libc",
"winapi",
]
[[package]]
name = "if-addrs-sys"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de74b9dd780476e837e5eb5ab7c88b49ed304126e412030a0adba99c8efe79ea"
dependencies = [
"cc",
"libc",
]
[[package]]
name = "indenter"
version = "0.3.3"
@ -587,6 +608,24 @@ version = "0.2.111"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e167738f1866a7ec625567bae89ca0d44477232a4f7c52b1c7f2adc2c98804f"
[[package]]
name = "libmdns"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fac185a4d02e873c6d1ead59d674651f8ae5ec23ffe1637bee8de80665562a6a"
dependencies = [
"byteorder",
"futures-util",
"hostname",
"if-addrs",
"log",
"multimap",
"rand",
"socket2",
"thiserror",
"tokio",
]
[[package]]
name = "log"
version = "0.4.14"
@ -671,6 +710,15 @@ dependencies = [
"winapi",
]
[[package]]
name = "multimap"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
dependencies = [
"serde",
]
[[package]]
name = "multipart"
version = "0.18.0"
@ -780,6 +828,7 @@ dependencies = [
"hostname",
"iai",
"libc",
"libmdns",
"once_cell",
"regex",
"tokio",