# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

[package]
name = "net_tap"
edition.workspace = true
rust-version.workspace = true

[target.'cfg(unix)'.dependencies]
net_backend.workspace = true
net_backend_resources.workspace = true
linux_net_bindings.workspace = true

vm_resource.workspace = true

inspect.workspace = true
pal_async.workspace = true

anyhow.workspace = true
async-trait.workspace = true
bitfield-struct.workspace = true
futures.workspace = true
libc.workspace = true
open_enum.workspace = true
parking_lot.workspace = true
thiserror.workspace = true
tracing.workspace = true
zerocopy.workspace = true

[target.'cfg(unix)'.dev-dependencies]
guestmem.workspace = true
libtest-mimic.workspace = true
net_backend.workspace = true
pal_async.workspace = true

[[test]]
name = "tap_tests"
harness = false

[lints]
workspace = true
