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

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

[features]
# Enable building with TPM device support.
tpm = ["dep:tpm_device"]

[target.'cfg(target_os = "linux")'.dependencies]
mesh_worker.workspace = true
vm_resource.workspace = true
vmcore.workspace = true
vmsocket.workspace = true

serial_core.workspace = true
vmbus_serial_guest.workspace = true

disk_striped.workspace = true

scsidisk.workspace = true

storvsp.workspace = true
uidevices = { workspace = true, optional = true }

chipset.workspace = true
hyperv_ic.workspace = true
missing_dev.workspace = true
serial_16550.workspace = true
serial_pl011.workspace = true
tpm_device = { workspace = true, optional = true, features = ["tpm"] }

# VPCI devices
nvme = { workspace = true, optional = true }

# Workers
debug_worker = { workspace = true, optional = true }
vnc_worker = { workspace = true, optional = true }

[build-dependencies]
build_rs_guest_arch.workspace = true

[lints]
workspace = true
