# 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-device-input" version = "0.1.0" authors = ["Leo Yan "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "vhost input backend device" readme = "README.md" keywords = [ "virtio-input", "vhost-user", "vhost", "virtio", "rust-vmm", ] categories = ["virtualization"] license = "Apache-2.0 OR BSD-3-Clause" repository = "https://github.com/rust-vmm/vhost-device" [[bin]] name = "vhost-device-input" path = "src/main.rs" [dependencies.clap] version = "4.5" features = ["derive"] [dependencies.env_logger] version = "0.11" [dependencies.epoll] version = "4.3" [dependencies.evdev] version = "0.12" [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.nix] version = "0.29" features = ["ioctl"] [dependencies.rand] version = "0.8.5" [dependencies.tempfile] version = "3.14" [dependencies.thiserror] version = "2.0" [dependencies.vhost] version = "0.13" features = ["vhost-user-backend"] [dependencies.vhost-user-backend] version = "0.17" [dependencies.virtio-bindings] version = "0.2.2" [dependencies.virtio-queue] version = "0.14" [dependencies.vm-memory] version = "0.16.1" [dependencies.vmm-sys-util] version = "0.12" [dev-dependencies.assert_matches] version = "1.5" [dev-dependencies.virtio-queue] version = "0.14" features = ["test-utils"] [dev-dependencies.vm-memory] version = "0.16" features = [ "backend-mmap", "backend-atomic", ] [features] xen = [ "vm-memory/xen", "vhost/xen", "vhost-user-backend/xen", ]