virtio-queue v0.15 introduces a new Descriptor API supporting both split and packed virtqueue. Update our dependencies and code to work with the new version of the crate, including updating vhost-user-backend and virtio-vsock. Updates `vhost-user-backend` from 0.18.0 to 0.19.0 - [Release notes](https://github.com/rust-vmm/vhost/releases) - [Commits](rust-vmm/vhost@vhost-user-backend-v0.18.0...vhost-user-backend-v0.19.0) Updates `virtio-queue` from 0.14.0 to 0.15.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](rust-vmm/vm-virtio@virtio-queue-v0.14.0...virtio-queue-v0.15.0) Updates `virtio-vsock` from 0.8.0 to 0.9.0 - [Release notes](https://github.com/rust-vmm/vm-virtio/releases) - [Commits](rust-vmm/vm-virtio@virtio-vsock-v0.8.0...virtio-vsock-v0.9.0) Signed-off-by: Wenyu Huang <huangwenyuu@outlook.com>
39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
[package]
|
|
name = "vhost-device-vsock"
|
|
version = "0.2.0"
|
|
authors = ["Harshavardhan Unnibhavi <harshanavkis@gmail.com>", "Stefano Garzarella <sgarzare@redhat.com>"]
|
|
description = "A virtio-vsock device using the vhost-user protocol."
|
|
repository = "https://github.com/rust-vmm/vhost-device"
|
|
readme = "README.md"
|
|
keywords = ["vhost", "vsock"]
|
|
license = "Apache-2.0 OR BSD-3-Clause"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["backend_vsock"]
|
|
backend_vsock = ["vsock", "libc"]
|
|
xen = ["vm-memory/xen", "vhost/xen", "vhost-user-backend/xen"]
|
|
|
|
[dependencies]
|
|
byteorder = "1"
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
env_logger = "0.11"
|
|
epoll = "4.3.2"
|
|
log = "0.4"
|
|
thiserror = "2.0"
|
|
vhost = { version = "0.14", features = ["vhost-user-backend"] }
|
|
vhost-user-backend = "0.19"
|
|
virtio-bindings = "0.2.5"
|
|
virtio-queue = "0.15"
|
|
virtio-vsock = "0.9"
|
|
vm-memory = "0.16.1"
|
|
vmm-sys-util = "0.14"
|
|
figment = { version = "0.10.19", features = ["yaml"] }
|
|
vsock = { version = "0.5.0", optional = true }
|
|
libc = { version = "0.2.172", optional = true }
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.5"
|
|
virtio-queue = { version = "0.15", features = ["test-utils"] }
|
|
tempfile = "3.20.0"
|