generated from rust-vmm/crate-template
-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (38 loc) · 1.3 KB
/
Cargo.toml
File metadata and controls
42 lines (38 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "vhost-device-video"
version = "0.1.0"
authors = ["Albert Esteve <aesteve@redhat.com>"]
description = "A virtio-video device using the vhost-user protocol."
repository = "https://github.com/rust-vmm/vhost-device"
readme = "README.md"
keywords = ["vhost", "video", "virt", "backend"]
license = "Apache-2.0 OR BSD-3-Clause"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
xen = ["vm-memory/xen", "vhost/xen", "vhost-user-backend/xen"]
default = ["v4l2-decoder"]
v4l2-decoder = ["v4l2r"]
[dependencies]
bitflags = "2.11.0"
clap = { version = "4.5", features = ["derive"] }
env_logger = "0.11"
epoll = "4.4"
num_enum = "0.7"
log = "0.4"
libc = "0.2.182"
thiserror = "2.0"
futures-executor = { version = "0.3", features = ["thread-pool"] }
vhost = { version = "0.15", features = ["vhost-user-backend"] }
vhost-user-backend = "0.21"
virtio-bindings = "0.2.7"
virtio-queue = "0.17"
vm-memory = "0.18.0"
vmm-sys-util = "0.15"
v4l2r = { git = "https://github.com/Gnurou/v4l2r", rev = "110fd77", optional = true }
[dev-dependencies]
assert_matches = "1.5"
rstest = "0.26.1"
tempfile = "3.26.0"
virtio-queue = { version = "0.17", features = ["test-utils"] }
vm-memory = { version = "0.18.0", features = ["backend-mmap", "backend-atomic"] }