[dependencies.bitflags]
version = "2.4"
[dependencies.libc]
version = "0.2.39"
[dependencies.uuid]
features = ["v4", "fast-rng", "macro-diagnostics"]
version = "1.8.0"
[dependencies.vm-memory]
features = ["backend-mmap"]
version = "0.16.0"
[dependencies.vmm-sys-util]
version = "0.12.1"
[dev-dependencies.serial_test]
version = "3.0"
[dev-dependencies.tempfile]
version = "3.2.0"
[features]
default = []
postcopy = []
test-utils = []
vhost-kern = []
vhost-net = ["vhost-kern"]
vhost-user = []
vhost-user-backend = ["vhost-user"]
vhost-user-frontend = ["vhost-user"]
vhost-vdpa = ["vhost-kern"]
vhost-vsock = []
xen = ["vm-memory/xen"]
[lib]
name = "vhost"
path = "src/lib.rs"
[package]
authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "a pure rust library for vdpa, vhost and vhost-user"
documentation = "https://docs.rs/vhost"
edition = "2021"
keywords = ["vhost", "vhost-user", "virtio", "vdpa"]
license = "Apache-2.0 OR BSD-3-Clause"
name = "vhost"
readme = "README.md"
repository = "https://github.com/rust-vmm/vhost"
version = "0.13.0"
[package.metadata.docs.rs]
all-features = true