mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 23:41:15 +00:00
It gets bubbled all the way up from hypervsior crate to top-level Cargo.toml. Cloud Hypervisor can't function without KVM at this point, so make it a default feature. Fix all scripts that use --no-default-features. Signed-off-by: Wei Liu <liuwe@microsoft.com>
25 lines
779 B
TOML
25 lines
779 B
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["Muminul Islam <muislam@microsoft.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
kvm = []
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
libc = "0.2.69"
|
|
kvm-ioctls = { git = "https://github.com/cloud-hypervisor/kvm-ioctls", branch = "ch" }
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch", 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.2.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"]
|