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 = [] 12tdx = [] 13 14[dependencies] 15anyhow = "1.0.75" 16byteorder = "1.4.3" 17thiserror = "1.0.40" 18libc = "0.2.147" 19log = "0.4.17" 20kvm-ioctls = { version = "0.13.0", optional = true } 21kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.6.0-tdx", features = ["with-serde", "fam-wrappers"], optional = true } 22mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = ["with-serde", "fam-wrappers"], optional = true } 23mshv-ioctls = { git = "https://github.com/rust-vmm/mshv", branch = "main", optional = true} 24serde = { version = "1.0.168", features = ["rc", "derive"] } 25serde_with = { version = "3.0.0", default-features = false, features = ["macros"] } 26vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false } 27vm-memory = { version = "0.12.2", features = ["backend-mmap", "backend-atomic"] } 28vmm-sys-util = { version = "0.11.0", features = ["with-serde"] } 29 30[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86] 31optional = true 32version = "1.19.0" 33default-features = false 34features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"] 35 36[dev-dependencies] 37env_logger = "0.10.0" 38