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-user-backend" 15version = "0.17.0" 16authors = ["The Cloud Hypervisor Authors"] 17build = false 18autobins = false 19autoexamples = false 20autotests = false 21autobenches = false 22description = "A framework to build vhost-user backend service daemon" 23readme = "README.md" 24keywords = [ 25 "vhost-user", 26 "virtio", 27] 28license = "Apache-2.0" 29repository = "https://github.com/rust-vmm/vhost" 30 31[lib] 32name = "vhost_user_backend" 33path = "src/lib.rs" 34 35[[test]] 36name = "vhost-user-server" 37path = "tests/vhost-user-server.rs" 38 39[dependencies.libc] 40version = "0.2.39" 41 42[dependencies.log] 43version = "0.4.17" 44 45[dependencies.userfaultfd] 46version = "0.8.1" 47optional = true 48 49[dependencies.vhost] 50version = "0.13.0" 51features = ["vhost-user-backend"] 52 53[dependencies.virtio-bindings] 54version = "0.2.1" 55 56[dependencies.virtio-queue] 57version = "0.14.0" 58 59[dependencies.vm-memory] 60version = "0.16.0" 61features = [ 62 "backend-mmap", 63 "backend-atomic", 64 "backend-bitmap", 65] 66 67[dependencies.vmm-sys-util] 68version = "0.12.1" 69 70[dev-dependencies.nix] 71version = "0.29" 72features = ["fs"] 73 74[dev-dependencies.tempfile] 75version = "3.2.0" 76 77[dev-dependencies.vhost] 78version = "0.13.0" 79features = [ 80 "test-utils", 81 "vhost-user-frontend", 82 "vhost-user-backend", 83] 84 85[dev-dependencies.vm-memory] 86version = "0.16.0" 87features = [ 88 "backend-mmap", 89 "backend-atomic", 90] 91 92[features] 93postcopy = [ 94 "vhost/postcopy", 95 "userfaultfd", 96] 97xen = [ 98 "vm-memory/xen", 99 "vhost/xen", 100] 101