• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 = "2021"
14name = "vhost"
15version = "0.13.0"
16authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
17build = false
18autobins = false
19autoexamples = false
20autotests = false
21autobenches = false
22description = "a pure rust library for vdpa, vhost and vhost-user"
23documentation = "https://docs.rs/vhost"
24readme = "README.md"
25keywords = [
26    "vhost",
27    "vhost-user",
28    "virtio",
29    "vdpa",
30]
31license = "Apache-2.0 OR BSD-3-Clause"
32repository = "https://github.com/rust-vmm/vhost"
33
34[package.metadata.docs.rs]
35all-features = true
36
37[lib]
38name = "vhost"
39path = "src/lib.rs"
40
41[dependencies.bitflags]
42version = "2.4"
43
44[dependencies.libc]
45version = "0.2.39"
46
47[dependencies.uuid]
48version = "1.8.0"
49features = [
50    "v4",
51    "fast-rng",
52    "macro-diagnostics",
53]
54
55[dependencies.vm-memory]
56version = "0.16.0"
57features = ["backend-mmap"]
58
59[dependencies.vmm-sys-util]
60version = "0.12.1"
61
62[dev-dependencies.serial_test]
63version = "3.0"
64
65[dev-dependencies.tempfile]
66version = "3.2.0"
67
68[features]
69default = []
70postcopy = []
71test-utils = []
72vhost-kern = []
73vhost-net = ["vhost-kern"]
74vhost-user = []
75vhost-user-backend = ["vhost-user"]
76vhost-user-frontend = ["vhost-user"]
77vhost-vdpa = ["vhost-kern"]
78vhost-vsock = []
79xen = ["vm-memory/xen"]
80