1[package] 2name = "vhost" 3version = "0.8.1" 4keywords = ["vhost", "vhost-user", "virtio", "vdpa"] 5description = "a pure rust library for vdpa, vhost and vhost-user" 6authors = ["Liu Jiang <gerry@linux.alibaba.com>"] 7repository = "https://github.com/rust-vmm/vhost" 8documentation = "https://docs.rs/vhost" 9readme = "README.md" 10license = "Apache-2.0 OR BSD-3-Clause" 11edition = "2018" 12 13[package.metadata.docs.rs] 14all-features = true 15 16[features] 17default = [] 18test-utils = [] 19vhost-vsock = [] 20vhost-kern = [] 21vhost-vdpa = ["vhost-kern"] 22vhost-net = ["vhost-kern"] 23vhost-user = [] 24vhost-user-master = ["vhost-user"] 25vhost-user-slave = ["vhost-user"] 26xen = ["vm-memory/xen"] 27 28[dependencies] 29bitflags = "1.0" 30libc = "0.2.39" 31 32vmm-sys-util = "0.11.0" 33vm-memory = { version = "0.12.0", features=["backend-mmap"] } 34 35[dev-dependencies] 36tempfile = "3.2.0" 37serial_test = "0.5" 38