mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 07:21:15 +00:00
Remove the vmm dependency from vhost_user_block and vhost_user_net where it was existing to use config::OptionParser. By moving the OptionParser to its own crate at the top-level we can remove the very heavy dependency that these vhost-user backends had. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
55 lines
1.7 KiB
TOML
55 lines
1.7 KiB
TOML
[package]
|
|
name = "vmm"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables","devices/acpi", "arch/acpi"]
|
|
pci_support = ["pci", "vfio-ioctls", "virtio-devices/pci_support"]
|
|
mmio_support = ["virtio-devices/mmio_support"]
|
|
cmos = ["devices/cmos"]
|
|
fwdebug = ["devices/fwdebug"]
|
|
|
|
[dependencies]
|
|
arc-swap = ">=0.4.4"
|
|
clap = "2.33.1"
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
anyhow = "1.0"
|
|
arch = { path = "../arch" }
|
|
devices = { path = "../devices" }
|
|
epoll = ">=4.0.1"
|
|
hypervisor = { path = "../hypervisor" }
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.71"
|
|
log = "0.4.8"
|
|
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "master" }
|
|
net_util = { path = "../net_util" }
|
|
option_parser = { path = "../option_parser" }
|
|
pci = {path = "../pci", optional = true}
|
|
qcow = { path = "../qcow" }
|
|
seccomp = { git = "https://github.com/firecracker-microvm/firecracker", tag = "v0.21.1" }
|
|
serde = {version = ">=1.0.27", features = ["rc"] }
|
|
serde_derive = ">=1.0.27"
|
|
serde_json = ">=1.0.9"
|
|
url = "2.1.1"
|
|
vfio-ioctls = { git = "https://github.com/cloud-hypervisor/vfio-ioctls", branch = "ch", optional = true }
|
|
virtio-devices = {path = "../virtio-devices"}
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { version = "0.2.1", features = ["backend-mmap", "backend-atomic"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = { version = ">=0.5.0", features = ["with-serde"] }
|
|
signal-hook = "0.1.16"
|
|
tempfile = "3.1.0"
|
|
|
|
|
|
[dependencies.linux-loader]
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
|
features = ["elf", "bzimage", "pe"]
|
|
|
|
[dev-dependencies]
|
|
credibility = "0.1.3"
|