make linux deps conditional
This commit is contained in:
parent
f11d9c8309
commit
7e92d43ce3
|
@ -6,7 +6,6 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
|
||||
solana-sdk = { workspace = true }
|
||||
anyhow = { workspace = true }
|
||||
log = { workspace = true }
|
||||
|
@ -19,6 +18,10 @@ quiche = { workspace = true }
|
|||
mio = { workspace = true }
|
||||
mio_channel = { workspace = true }
|
||||
|
||||
[target.'cfg(linux)'.dependencies]
|
||||
libc = "0.2"
|
||||
nix = { version = "0.27", features = ["net", "socket", "uio"] }
|
||||
|
||||
[dev-dependencies]
|
||||
rand = { workspace = true }
|
||||
tracing-subscriber = { workspace = true }
|
||||
|
|
|
@ -21,13 +21,14 @@ boring = { workspace = true }
|
|||
mio = { workspace = true }
|
||||
mio_channel = { workspace = true }
|
||||
|
||||
libc = "0.2"
|
||||
nix = { version = "0.27", features = ["net", "socket", "uio"] }
|
||||
|
||||
quic-geyser-common = { workspace = true }
|
||||
prometheus = { workspace = true }
|
||||
lazy_static = { workspace = true }
|
||||
|
||||
[target.'cfg(linux)'.dependencies]
|
||||
libc = "0.2"
|
||||
nix = { version = "0.27", features = ["net", "socket", "uio"] }
|
||||
|
||||
[dev-dependencies]
|
||||
rand = { workspace = true }
|
||||
tracing-subscriber = { workspace = true }
|
Loading…
Reference in New Issue