mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
65 lines
2.0 KiB
TOML
65 lines
2.0 KiB
TOML
[package]
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
build = "build.rs"
|
|
default-run = "cloud-hypervisor"
|
|
description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM & MSHV"
|
|
edition = "2024"
|
|
homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
|
license = "Apache-2.0 AND BSD-3-Clause"
|
|
name = "cloud-hypervisor"
|
|
rust-version.workspace = true
|
|
version = "52.0.0"
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
api_client = { path = "../api_client" }
|
|
clap = { workspace = true, features = ["string"] }
|
|
dhat = { workspace = true, optional = true }
|
|
env_logger = { workspace = true }
|
|
epoll = { workspace = true }
|
|
event_monitor = { path = "../event_monitor" }
|
|
hypervisor = { path = "../hypervisor" }
|
|
jiff = { workspace = true }
|
|
libc = { workspace = true }
|
|
log = { workspace = true, features = ["std"] }
|
|
option_parser = { path = "../option_parser" }
|
|
seccompiler = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
signal-hook = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tpm = { path = "../tpm" }
|
|
tracer = { path = "../tracer" }
|
|
vm-memory = { workspace = true }
|
|
vmm = { path = "../vmm" }
|
|
vmm-sys-util = { workspace = true }
|
|
zbus = { version = "5.15.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
block = { path = "../block" }
|
|
dirs = { workspace = true }
|
|
net_util = { path = "../net_util" }
|
|
serde_json = { workspace = true }
|
|
test_infra = { path = "../test_infra" }
|
|
wait-timeout = { workspace = true }
|
|
|
|
# Please adjust `vmm::feature_list()` accordingly when changing the
|
|
# feature list below
|
|
[features]
|
|
dbus_api = ["vmm/dbus_api", "zbus"]
|
|
default = ["io_uring", "kvm"]
|
|
dhat-heap = ["dhat", "vmm/dhat-heap"] # For heap profiling
|
|
fw_cfg = ["vmm/fw_cfg"]
|
|
guest_debug = ["vmm/guest_debug"]
|
|
igvm = ["mshv", "vmm/igvm"]
|
|
io_uring = ["vmm/io_uring"]
|
|
ivshmem = ["vmm/ivshmem"]
|
|
kvm = ["vmm/kvm"]
|
|
mshv = ["vmm/mshv"]
|
|
pvmemcontrol = ["vmm/pvmemcontrol"]
|
|
sev_snp = ["igvm", "mshv", "vmm/sev_snp"]
|
|
tdx = ["vmm/tdx"]
|
|
tracing = ["tracer/tracing", "vmm/tracing"]
|
|
|
|
[lints]
|
|
workspace = true
|