2020-06-08 00:50:38 +00:00
|
|
|
[package]
|
|
|
|
name = "hypervisor"
|
|
|
|
version = "0.1.0"
|
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"
|
2020-06-08 00:50:38 +00:00
|
|
|
|
2020-07-07 11:06:40 +00:00
|
|
|
[features]
|
2021-02-18 17:17:00 +00:00
|
|
|
kvm = ["kvm-ioctls", "kvm-bindings"]
|
|
|
|
mshv = ["mshv-ioctls", "mshv-bindings"]
|
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]
|
2022-09-14 01:50:44 +00:00
|
|
|
anyhow = "1.0.65"
|
2022-07-18 15:47:51 +00:00
|
|
|
byteorder = "1.4.3"
|
2022-09-27 01:30:20 +00:00
|
|
|
thiserror = "1.0.36"
|
2022-09-20 00:41:37 +00:00
|
|
|
libc = "0.2.133"
|
2022-05-02 23:56:28 +00:00
|
|
|
log = "0.4.17"
|
2021-11-18 23:08:40 +00:00
|
|
|
kvm-ioctls = { version = "0.11.0", optional = true }
|
2022-02-16 13:47:12 +00:00
|
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.5.0-tdx", features = ["with-serde", "fam-wrappers"], optional = true }
|
2022-05-10 15:47:34 +00:00
|
|
|
mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = ["with-serde", "fam-wrappers"], optional = true }
|
2021-09-02 08:44:25 +00:00
|
|
|
mshv-ioctls = { git = "https://github.com/rust-vmm/mshv", branch = "main", optional = true}
|
2022-09-22 23:39:59 +00:00
|
|
|
serde = { version = "1.0.145", features = ["rc", "derive"] }
|
2022-09-10 00:18:20 +00:00
|
|
|
serde_with = { version = "2.0.1", default-features = false, features = ["macros"] }
|
2022-07-21 13:15:15 +00:00
|
|
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
2022-09-14 02:25:53 +00:00
|
|
|
vm-memory = { version = "0.9.0", features = ["backend-mmap", "backend-atomic"] }
|
2022-07-15 23:12:46 +00:00
|
|
|
vmm-sys-util = { version = "0.10.0", 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]
|
2022-02-24 23:14:18 +00:00
|
|
|
version = "1.17.0"
|
2020-11-13 11:30:25 +00:00
|
|
|
default-features = false
|
2020-11-30 23:00:53 +00:00
|
|
|
features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"]
|
2020-11-19 19:20:23 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-09-19 23:44:34 +00:00
|
|
|
env_logger = "0.9.1"
|