xref: /cloud-hypervisor/virtio-devices/Cargo.toml (revision eeae63b4595fbf0cc69f62b6e9d9a79c543c4ac7)
1[package]
2authors = ["The Cloud Hypervisor Authors"]
3edition = "2021"
4name = "virtio-devices"
5version = "0.1.0"
6
7[features]
8default = []
9sev_snp = ["mshv-ioctls"]
10
11[dependencies]
12anyhow = "1.0.94"
13arc-swap = "1.7.1"
14block = { path = "../block" }
15byteorder = "1.5.0"
16epoll = "4.3.3"
17event_monitor = { path = "../event_monitor" }
18libc = "0.2.167"
19log = "0.4.22"
20mshv-ioctls = { workspace = true, optional = true }
21net_gen = { path = "../net_gen" }
22net_util = { path = "../net_util" }
23pci = { path = "../pci" }
24rate_limiter = { path = "../rate_limiter" }
25seccompiler = { workspace = true }
26serde = { version = "1.0.208", features = ["derive"] }
27serde_json = "1.0.120"
28serde_with = { version = "3.9.0", default-features = false, features = [
29  "macros",
30] }
31serial_buffer = { path = "../serial_buffer" }
32thiserror = "2.0.6"
33vhost = { workspace = true, features = [
34  "vhost-kern",
35  "vhost-user-backend",
36  "vhost-user-frontend",
37  "vhost-vdpa",
38] }
39virtio-bindings = { workspace = true, features = ["virtio-v5_0_0"] }
40virtio-queue = { workspace = true }
41vm-allocator = { path = "../vm-allocator" }
42vm-device = { path = "../vm-device" }
43vm-memory = { workspace = true, features = [
44  "backend-atomic",
45  "backend-bitmap",
46  "backend-mmap",
47] }
48vm-migration = { path = "../vm-migration" }
49vm-virtio = { path = "../vm-virtio" }
50vmm-sys-util = { workspace = true }
51