1[package] 2name = "hypervisor" 3version = "0.1.0" 4authors = ["Microsoft Authors"] 5edition = "2021" 6license = "Apache-2.0 OR BSD-3-Clause" 7 8[features] 9kvm = ["kvm-ioctls", "kvm-bindings", "vfio-ioctls/kvm"] 10mshv = ["mshv-ioctls", "mshv-bindings", "vfio-ioctls/mshv", "iced-x86"] 11sev_snp = ["igvm_parser", "igvm_defs"] 12tdx = [] 13 14[dependencies] 15anyhow = "1.0.79" 16byteorder = "1.4.3" 17igvm_defs = { git = "https://github.com/microsoft/igvm", branch = "main", package = "igvm_defs", optional = true } 18igvm_parser = { git = "https://github.com/microsoft/igvm", branch = "main", package = "igvm", optional = true } 19libc = "0.2.147" 20log = "0.4.20" 21kvm-ioctls = { version = "0.16.0", optional = true } 22kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.7.0", features = ["with-serde", "fam-wrappers"], optional = true } 23mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = ["with-serde", "fam-wrappers"], optional = true } 24mshv-ioctls = { git = "https://github.com/rust-vmm/mshv", branch = "main", optional = true} 25serde = { version = "1.0.168", features = ["rc", "derive"] } 26serde_with = { version = "3.4.0", default-features = false, features = ["macros"] } 27vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false } 28vm-memory = { version = "0.14.0", features = ["backend-mmap", "backend-atomic"] } 29vmm-sys-util = { version = "0.12.1", features = ["with-serde"] } 30thiserror = "1.0.52" 31 32[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86] 33optional = true 34version = "1.20.0" 35default-features = false 36features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"] 37 38[dev-dependencies] 39env_logger = "0.10.1" 40