1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14name = "vhost"
15version = "0.8.1"
16authors = ["Liu Jiang <[email protected]>"]
17description = "a pure rust library for vdpa, vhost and vhost-user"
18documentation = "https://docs.rs/vhost"
19readme = "README.md"
20keywords = [
21    "vhost",
22    "vhost-user",
23    "virtio",
24    "vdpa",
25]
26license = "Apache-2.0 OR BSD-3-Clause"
27repository = "https://github.com/rust-vmm/vhost"
28
29[package.metadata.docs.rs]
30all-features = true
31
32[dependencies.bitflags]
33version = "1.0"
34
35[dependencies.libc]
36version = "0.2.39"
37
38[dependencies.vm-memory]
39version = "0.12.0"
40features = ["backend-mmap"]
41
42[dependencies.vmm-sys-util]
43version = "0.11.0"
44
45[dev-dependencies.serial_test]
46version = "0.5"
47
48[dev-dependencies.tempfile]
49version = "3.2.0"
50
51[features]
52default = []
53test-utils = []
54vhost-kern = []
55vhost-net = ["vhost-kern"]
56vhost-user = []
57vhost-user-master = ["vhost-user"]
58vhost-user-slave = ["vhost-user"]
59vhost-vdpa = ["vhost-kern"]
60vhost-vsock = []
61xen = ["vm-memory/xen"]
62