make linux deps conditional
This commit is contained in:
parent
7e92d43ce3
commit
412447d512
|
@ -18,7 +18,7 @@ quiche = { workspace = true }
|
|||
mio = { workspace = true }
|
||||
mio_channel = { workspace = true }
|
||||
|
||||
[target.'cfg(linux)'.dependencies]
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc = "0.2"
|
||||
nix = { version = "0.27", features = ["net", "socket", "uio"] }
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ quic-geyser-common = { workspace = true }
|
|||
prometheus = { workspace = true }
|
||||
lazy_static = { workspace = true }
|
||||
|
||||
[target.'cfg(linux)'.dependencies]
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
libc = "0.2"
|
||||
nix = { version = "0.27", features = ["net", "socket", "uio"] }
|
||||
|
||||
|
|
Loading…
Reference in New Issue