mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
c4a4dc9b23
BUG=b:237011316 TEST=presubmit and tested in wine Change-Id: I1b6160142b8161d4b09d3fd98dfacde354e238b4 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3934818 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Vikram Auradkar <auradkar@google.com>
36 lines
913 B
TOML
36 lines
913 B
TOML
[package]
|
|
name = "net_util"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
build = 'build.rs'
|
|
|
|
[features]
|
|
guest-to-host-net-loopback = []
|
|
slirp = ["libslirp-sys", "pcap-file"]
|
|
slirp-debug = ["slirp"]
|
|
slirp-ring-capture = ["slirp"]
|
|
|
|
[dependencies]
|
|
base = { path = "../base" }
|
|
cfg-if = "1.0.0"
|
|
cros_async = { path = "../cros_async" }
|
|
data_model = { path = "../common/data_model" }
|
|
libc = "*"
|
|
|
|
net_sys = { path = "../net_sys" }
|
|
pcap-file = { version = "1.1.0", optional = true }
|
|
remain = "*"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
smallvec = "*"
|
|
thiserror = "*"
|
|
virtio_sys = { path = "../virtio_sys" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
metrics = { path = "../metrics" }
|
|
winapi = { version = "*", features = ["everything", "std", "impl-default"] }
|
|
libslirp-sys = { version = "4.2.1", optional = true }
|
|
|
|
[build-dependencies]
|
|
anyhow = "*"
|
|
prebuilts = { path = "../prebuilts" }
|