xref: /cloud-hypervisor/hypervisor/Cargo.toml (revision 9af2968a7dc47b89bf07ea9dc5e735084efcfa3a)
1[package]
2name = "hypervisor"
3version = "0.1.0"
4authors = ["Microsoft Authors"]
5edition = "2018"
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"
15epoll = ">=4.0.1"
16thiserror = "1.0"
17libc = "0.2.98"
18log = "0.4.14"
19kvm-ioctls = {  version = "0.9.0", optional = true }
20kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.4.0", features = ["with-serde", "fam-wrappers"], optional  = true }
21mshv-bindings = {git = "https://github.com/cloud-hypervisor/mshv", branch = "master", features = ["with-serde", "fam-wrappers"], optional  = true }
22mshv-ioctls = { git = "https://github.com/cloud-hypervisor/mshv", branch = "master", optional  = true}
23serde = {version = ">=1.0.27", features = ["rc"] }
24serde_derive = ">=1.0.27"
25serde_json = ">=1.0.9"
26vm-memory = { version = "0.5.0", features = ["backend-mmap", "backend-atomic"] }
27vmm-sys-util = { version = ">=0.5.0", features = ["with-serde"] }
28
29[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86]
30version = "1.13"
31default-features = false
32features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"]
33
34[dev-dependencies]
35env_logger = "0.9.0"
36