mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-09 21:30:07 +00:00
f6d99d9a9b
No functional change. While at it, consolidate some of the IGVM related import directives. Signed-off-by: Wei Liu <liuwe@microsoft.com>
40 lines
1.5 KiB
TOML
40 lines
1.5 KiB
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["Microsoft Authors"]
|
|
edition = "2021"
|
|
license = "Apache-2.0 OR BSD-3-Clause"
|
|
|
|
[features]
|
|
kvm = ["kvm-ioctls", "kvm-bindings", "vfio-ioctls/kvm"]
|
|
mshv = ["mshv-ioctls", "mshv-bindings", "vfio-ioctls/mshv", "iced-x86"]
|
|
sev_snp = ["igvm", "igvm_defs"]
|
|
tdx = []
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.81"
|
|
byteorder = "1.5.0"
|
|
igvm = { version = "0.2.0", optional = true }
|
|
igvm_defs = { version = "0.2.0", optional = true }
|
|
libc = "0.2.153"
|
|
log = "0.4.21"
|
|
kvm-bindings = { version = "0.8.1", optional = true, features = ["serde"] }
|
|
kvm-ioctls = { version = "0.17.0", optional = true }
|
|
mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = ["with-serde", "fam-wrappers"], optional = true }
|
|
mshv-ioctls = { git = "https://github.com/rust-vmm/mshv", branch = "main", optional = true}
|
|
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
|
serde_with = { version = "3.7.0", default-features = false, features = ["macros"] }
|
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
|
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic"] }
|
|
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
|
thiserror = "1.0.58"
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86]
|
|
optional = true
|
|
version = "1.21.0"
|
|
default-features = false
|
|
features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"]
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.11.3"
|