mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 08:21:15 +00:00
Remove workspace from vhost_user_backend/Cargo.toml to have vhost-user-backend compiled in cloud-hypervisor. Add workspace in Cargo.toml to have vhost-user-backend consumed by vhost-user-net. Signed-off-by: Cathy Zhang <cathy.zhang@intel.com>
23 lines
519 B
TOML
23 lines
519 B
TOML
[package]
|
|
name = "vhost_user_backend"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
pci_support = ["vm-virtio/pci_support"]
|
|
mmio_support = ["vm-virtio/mmio_support"]
|
|
|
|
[dependencies]
|
|
epoll = "4.1.0"
|
|
libc = "0.2.60"
|
|
vm-memory = { git = "https://github.com/rust-vmm/vm-memory" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = { git = "https://github.com/rust-vmm/vmm-sys-util" }
|
|
|
|
[dependencies.vhost_rs]
|
|
path = "../vhost_rs"
|
|
features = ["vhost-user-slave"]
|
|
|