diff --git a/Cargo.lock b/Cargo.lock index 919e17f..94230f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -149,21 +149,30 @@ dependencies = [ [[package]] name = "dhcproto" -version = "0.9.0-alpha" -source = "git+https://github.com/bluecatengineering/dhcproto#1766a1092c4be5f9d64590f2fdabaeaa233d1191" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcee045385d5f7819022821f41209b9945d17550760b0b2349aaef4ecfa14bc3" dependencies = [ + "dhcproto-macros", "hex", + "ipnet", "rand", "thiserror", "trust-dns-proto", "url", ] +[[package]] +name = "dhcproto-macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7993efb860416547839c115490d4951c6d0f8ec04a3594d9dd99d50ed7ec170" + [[package]] name = "enum-as-inner" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21cdad81446a7f7dc43f6a77409efeb9733d2fa65553efef6018ef257c959b73" +checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ "heck 0.4.0", "proc-macro2", @@ -754,9 +763,9 @@ dependencies = [ [[package]] name = "trust-dns-proto" -version = "0.21.2" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c31f240f59877c3d4bb3b3ea0ec5a6a0cff07323580ff8c7a605cd7d08b255d" +checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" dependencies = [ "async-trait", "cfg-if", @@ -768,11 +777,11 @@ dependencies = [ "idna", "ipnet", "lazy_static", - "log", "rand", "smallvec", "thiserror", "tinyvec", + "tracing", "url", ] diff --git a/Cargo.toml b/Cargo.toml index c9dc8a7..b6f3053 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -dhcproto = { git = "https://github.com/bluecatengineering/dhcproto" } +dhcproto = "0.9.0" anyhow = "1.0" argh = "0.1.7" crossbeam-channel = "0.5.1" diff --git a/src/inforeq.rs b/src/inforeq.rs index e367b39..b87f444 100644 --- a/src/inforeq.rs +++ b/src/inforeq.rs @@ -23,7 +23,7 @@ pub struct InformationReqArgs { pub fn default_opts() -> Vec { vec![ - v6::OptionCode::DNSNameServer, + v6::OptionCode::DomainNameServers, v6::OptionCode::DomainSearchList, v6::OptionCode::Unknown(39), v6::OptionCode::Unknown(59),