mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 11:31:14 +00:00
dfcb0a192a
A new fork of the kvm-bindings crate has been submitted to the ch-v0.5.0-tdx branch. It contains updated bindings for x86 to support TDX. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
36 lines
1.2 KiB
TOML
36 lines
1.2 KiB
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["Microsoft Authors"]
|
|
edition = "2018"
|
|
license = "Apache-2.0 OR BSD-3-Clause"
|
|
|
|
[features]
|
|
kvm = ["kvm-ioctls", "kvm-bindings"]
|
|
mshv = ["mshv-ioctls", "mshv-bindings"]
|
|
tdx = []
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.53"
|
|
epoll = "4.3.1"
|
|
thiserror = "1.0.30"
|
|
libc = "0.2.118"
|
|
log = "0.4.14"
|
|
kvm-ioctls = { version = "0.11.0", optional = true }
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.5.0-tdx", features = ["with-serde", "fam-wrappers"], 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.136", features = ["rc"] }
|
|
serde_derive = "1.0.136"
|
|
serde_json = "1.0.79"
|
|
vm-memory = { version = "0.7.0", features = ["backend-mmap", "backend-atomic"] }
|
|
vmm-sys-util = { version = "0.9.0", features = ["with-serde"] }
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86]
|
|
version = "1.16.0"
|
|
default-features = false
|
|
features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"]
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.9.0"
|