mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 11:31:14 +00:00
fe5401223b
And add a few unit tests based on a Mock platform. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
36 lines
995 B
TOML
36 lines
995 B
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["Microsoft Authors"]
|
|
edition = "2018"
|
|
license = "Apache-2.0 OR BSD-3-Clause"
|
|
|
|
[features]
|
|
kvm = []
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
arc-swap = ">=1.0.0"
|
|
thiserror = "1.0"
|
|
libc = "0.2.80"
|
|
log = "0.4.11"
|
|
kvm-ioctls = { git = "https://github.com/rust-vmm/kvm-ioctls", branch = "master" }
|
|
kvm-bindings = { git = "https://github.com/rust-vmm/kvm-bindings", branch = "master", features = ["with-serde", "fam-wrappers"] }
|
|
serde = {version = ">=1.0.27", features = ["rc"] }
|
|
serde_derive = ">=1.0.27"
|
|
serde_json = ">=1.0.9"
|
|
vm-memory = { version = "0.4.0", features = ["backend-mmap", "backend-atomic"] }
|
|
vmm-sys-util = { version = ">=0.5.0", features = ["with-serde"] }
|
|
|
|
[dependencies.linux-loader]
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
|
features = ["elf", "bzimage"]
|
|
|
|
[dependencies.iced-x86]
|
|
version = "1.9.1"
|
|
default-features = false
|
|
features = ["std", "decoder", "op_code_info", "instr_info"]
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.8.2"
|