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

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

[target.'cfg(target_os = "linux")'.dependencies]
diag_proto.workspace = true

azure_profiler_proto.workspace = true
cvm_tracing.workspace = true
inspect_proto.workspace = true
inspect = { workspace = true, features = ["defer"] }
mesh = { workspace = true, features = ["socket2"] }
mesh_rpc.workspace = true
pal.workspace = true
unix_socket.workspace = true
pal_async.workspace = true
vmsocket.workspace = true

underhill_confidentiality = { workspace = true, features = ["std"] }

anyhow.workspace = true
cfg-if.workspace = true
fs-err.workspace = true
futures.workspace = true
futures-concurrency.workspace = true
parking_lot.workspace = true
tracing.workspace = true
term.workspace = true
net_packet_capture.workspace = true
profiler_worker = { workspace = true, optional = true }
socket2.workspace = true
safe_intrinsics.workspace = true
hvdef.workspace = true

[features]
profiler = ["dep:profiler_worker"]
mem-profile-tracing = []

[lints]
workspace = true
