2020-06-08 00:50:38 +00:00
|
|
|
[package]
|
2020-10-19 22:42:43 +00:00
|
|
|
authors = ["Microsoft Authors"]
|
2022-04-08 15:11:04 +00:00
|
|
|
edition = "2021"
|
2020-10-19 22:42:43 +00:00
|
|
|
license = "Apache-2.0 OR BSD-3-Clause"
|
2024-05-08 08:56:31 +00:00
|
|
|
name = "hypervisor"
|
|
|
|
version = "0.1.0"
|
2020-06-08 00:50:38 +00:00
|
|
|
|
2020-07-07 11:06:40 +00:00
|
|
|
[features]
|
2024-06-18 14:22:36 +00:00
|
|
|
kvm = ["kvm-bindings", "kvm-ioctls", "vfio-ioctls/kvm"]
|
|
|
|
mshv = ["iced-x86", "mshv-bindings", "mshv-ioctls", "vfio-ioctls/mshv"]
|
2024-04-26 23:16:01 +00:00
|
|
|
sev_snp = ["igvm", "igvm_defs"]
|
2021-02-12 15:17:18 +00:00
|
|
|
tdx = []
|
2020-06-08 00:50:38 +00:00
|
|
|
|
2020-06-03 19:23:56 +00:00
|
|
|
[dependencies]
|
2024-09-09 23:21:09 +00:00
|
|
|
anyhow = "1.0.87"
|
2024-03-29 23:33:33 +00:00
|
|
|
byteorder = "1.5.0"
|
2024-08-02 10:33:22 +00:00
|
|
|
cfg-if = "1.0.0"
|
2024-08-07 17:12:06 +00:00
|
|
|
concat-idents = "1.1.5"
|
2024-08-02 23:02:57 +00:00
|
|
|
igvm = { version = "0.3.3", optional = true }
|
2024-05-31 18:59:03 +00:00
|
|
|
igvm_defs = { version = "0.3.1", optional = true }
|
2024-09-27 02:27:43 +00:00
|
|
|
kvm-bindings = { workspace = true, optional = true, features = ["serde"] }
|
|
|
|
kvm-ioctls = { workspace = true, optional = true }
|
2024-12-03 00:26:44 +00:00
|
|
|
libc = "0.2.167"
|
2024-07-15 23:26:18 +00:00
|
|
|
log = "0.4.22"
|
2024-09-27 02:27:43 +00:00
|
|
|
mshv-bindings = { workspace = true, features = [
|
2024-05-08 08:56:31 +00:00
|
|
|
"fam-wrappers",
|
2024-06-18 14:22:36 +00:00
|
|
|
"with-serde",
|
2024-05-08 08:56:31 +00:00
|
|
|
], optional = true }
|
2024-09-27 02:27:43 +00:00
|
|
|
mshv-ioctls = { workspace = true, optional = true }
|
2024-08-16 23:15:30 +00:00
|
|
|
serde = { version = "1.0.208", features = ["derive", "rc"] }
|
2024-08-01 23:50:36 +00:00
|
|
|
serde_with = { version = "3.9.0", default-features = false, features = [
|
2024-05-08 08:56:31 +00:00
|
|
|
"macros",
|
|
|
|
] }
|
2024-07-16 23:17:07 +00:00
|
|
|
thiserror = "1.0.62"
|
2024-09-27 02:27:43 +00:00
|
|
|
vfio-ioctls = { workspace = true, default-features = false }
|
|
|
|
vm-memory = { workspace = true, features = ["backend-atomic", "backend-mmap"] }
|
|
|
|
vmm-sys-util = { workspace = true, features = ["with-serde"] }
|
2020-06-03 19:23:56 +00:00
|
|
|
|
2020-12-07 17:07:28 +00:00
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86]
|
2020-11-13 11:30:25 +00:00
|
|
|
default-features = false
|
2024-06-18 14:22:36 +00:00
|
|
|
features = ["decoder", "fast_fmt", "instr_info", "op_code_info", "std"]
|
2024-05-08 08:56:31 +00:00
|
|
|
optional = true
|
|
|
|
version = "1.21.0"
|
2020-11-19 19:20:23 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-04-17 23:56:05 +00:00
|
|
|
env_logger = "0.11.3"
|