1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-15 11:36:16 +00:00

core: only require dns-lookup when utmpx feature is required

This commit is contained in:
Jeremy Soller 2021-08-06 13:32:17 -06:00
parent 53374207c1
commit 3601eaf176
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1

View file

@ -16,7 +16,7 @@ edition = "2018"
path="src/lib/lib.rs" path="src/lib/lib.rs"
[dependencies] [dependencies]
dns-lookup = "1.0.5" dns-lookup = { version="1.0.5", optional=true }
dunce = "1.0.0" dunce = "1.0.0"
getopts = "<= 0.2.21" getopts = "<= 0.2.21"
wild = "2.0.4" wild = "2.0.4"
@ -55,6 +55,6 @@ process = ["libc"]
ringbuffer = [] ringbuffer = []
signals = [] signals = []
utf8 = [] utf8 = []
utmpx = ["time", "libc"] utmpx = ["time", "libc", "dns-lookup"]
wide = [] wide = []
zero-copy = ["nix", "libc", "lazy_static", "platform-info"] zero-copy = ["nix", "libc", "lazy_static", "platform-info"]