blob: af553133790e74ba55b1edddac2aab8310e3426c [file] [log] [blame]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "vhost-user-backend"
version = "0.17.0"
authors = ["The Cloud Hypervisor Authors"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A framework to build vhost-user backend service daemon"
readme = "README.md"
keywords = [
"vhost-user",
"virtio",
]
license = "Apache-2.0"
repository = "https://github.com/rust-vmm/vhost"
[lib]
name = "vhost_user_backend"
path = "src/lib.rs"
[[test]]
name = "vhost-user-server"
path = "tests/vhost-user-server.rs"
[dependencies.libc]
version = "0.2.39"
[dependencies.log]
version = "0.4.17"
[dependencies.userfaultfd]
version = "0.8.1"
optional = true
[dependencies.vhost]
version = "0.13.0"
features = ["vhost-user-backend"]
[dependencies.virtio-bindings]
version = "0.2.1"
[dependencies.virtio-queue]
version = "0.14.0"
[dependencies.vm-memory]
version = "0.16.0"
features = [
"backend-mmap",
"backend-atomic",
"backend-bitmap",
]
[dependencies.vmm-sys-util]
version = "0.12.1"
[dev-dependencies.nix]
version = "0.29"
features = ["fs"]
[dev-dependencies.tempfile]
version = "3.2.0"
[dev-dependencies.vhost]
version = "0.13.0"
features = [
"test-utils",
"vhost-user-frontend",
"vhost-user-backend",
]
[dev-dependencies.vm-memory]
version = "0.16.0"
features = [
"backend-mmap",
"backend-atomic",
]
[features]
postcopy = [
"vhost/postcopy",
"userfaultfd",
]
xen = [
"vm-memory/xen",
"vhost/xen",
]