diff --git a/Cargo.lock b/Cargo.lock index ac28983096a..4d2d5f9521a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -943,18 +943,6 @@ dependencies = [ "const-random", ] -[[package]] -name = "dns-lookup" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e39034cee21a2f5bbb66ba0e3689819c4bb5d00382a282006e802a7ffa6c41d" -dependencies = [ - "cfg-if", - "libc", - "socket2", - "windows-sys 0.60.2", -] - [[package]] name = "document-features" version = "0.2.12" @@ -2894,16 +2882,6 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8e2fb0f499abb4d162f2bedad68f5ef91a1682b5a03596ddb67efd37768d100" -[[package]] -name = "socket2" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" -dependencies = [ - "libc", - "windows-sys 0.61.2", -] - [[package]] name = "spin" version = "0.10.1" @@ -4558,7 +4536,6 @@ dependencies = [ "data-encoding", "data-encoding-macro", "digest 0.11.3", - "dns-lookup", "dunce", "fluent", "fluent-syntax", diff --git a/Cargo.toml b/Cargo.toml index 6f9512d3259..ca69a82d0ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -430,7 +430,6 @@ ctrlc = { version = "3.5.2", features = ["termination"] } data-encoding = "2.6" data-encoding-macro = "0.1.15" divan = { package = "codspeed-divan-compat", version = "5.0.0" } -dns-lookup = { version = "3.0.0" } dunce = "1.0.4" filetime = "0.2.29" foldhash = "0.2.0" diff --git a/src/uucore/Cargo.toml b/src/uucore/Cargo.toml index 9ca64fdd997..9136bc7e1a1 100644 --- a/src/uucore/Cargo.toml +++ b/src/uucore/Cargo.toml @@ -97,7 +97,6 @@ selinux = { workspace = true, optional = true } [target.'cfg(unix)'.dependencies] # utmpx is unix-only, so its dependencies must not be pulled into other targets # (the uptime feature enables utmpx and now builds on windows too). -dns-lookup = { workspace = true, optional = true } time = { workspace = true, optional = true, features = [ "formatting", "local-offset", @@ -215,7 +214,7 @@ sum = [ openssl = ["dep:openssl"] update-control = ["parser"] utf8 = [] -utmpx = ["time", "time/macros", "libc", "dns-lookup"] +utmpx = ["time", "time/macros", "libc"] version-cmp = [] wide = [] tty = []