xref: /cloud-hypervisor/hypervisor/Cargo.toml (revision b440cb7d2330770cd415b63544a371d4caa2db3a)
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"]
10mshv = ["mshv-ioctls", "mshv-bindings"]
11tdx = []
12
13[dependencies]
14anyhow = "1.0.58"
15byteorder = "1.4.3"
16epoll = "4.3.1"
17thiserror = "1.0.31"
18libc = "0.2.126"
19log = "0.4.17"
20kvm-ioctls = { version = "0.11.0", optional = true }
21kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.5.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.139", features = ["rc", "derive"] }
25serde_json = "1.0.82"
26vm-memory = { version = "0.8.0", features = ["backend-mmap", "backend-atomic"] }
27vmm-sys-util = { version = "0.10.0", features = ["with-serde"] }
28
29[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86]
30version = "1.17.0"
31default-features = false
32features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"]
33
34[dev-dependencies]
35env_logger = "0.9.0"
36