vhost/Cargo.toml
Liu Jiang e5a5f1fe34 Refine VringStateGuard and VringStateMutGuard
Previously VringStateGuard and VringStateMutGuard are defined as enum,
which limits the extensibility of the interface. So convert them into
traits by using the High Rank Trait Bound tricky.

Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
2021-12-22 18:58:54 +08:00

20 lines
615 B
TOML

[package]
name = "vhost-user-backend"
version = "0.1.0"
authors = ["The Cloud Hypervisor Authors"]
keywords = ["vhost-user", "virtio"]
description = "A framework to build vhost-user backend service daemon"
edition = "2018"
license = "Apache-2.0"
[dependencies]
libc = ">=0.2.39"
log = ">=0.4.6"
vhost = { version = "0.3", features = ["vhost-user-slave"] }
virtio-bindings = "0.1"
virtio-queue = "0.1"
vm-memory = {version = "0.7", features = ["backend-mmap", "backend-atomic"]}
vmm-sys-util = "0.9"
[dev-dependencies]
vm-memory = {version = "0.7", features = ["backend-mmap", "backend-atomic", "backend-bitmap"]}