cloud-hypervisor/vm-device/Cargo.toml
Maksym Pavlenko 3a0429c998 cargo: Clean up serde dependencies
There is no need to include serde_derive separately,
as it can be specified as serde feature instead.

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-05-18 08:21:19 +02:00

22 lines
553 B
TOML

[package]
name = "vm-device"
version = "0.1.0"
authors = ["The Cloud Hypervisor Authors"]
edition = "2021"
[features]
default = []
kvm = ["vfio-ioctls/kvm"]
mshv = ["vfio-ioctls/mshv"]
[dependencies]
anyhow = "1.0.57"
hypervisor = { path = "../hypervisor" }
thiserror = "1.0.31"
serde = { version = "1.0.137", features = ["rc", "derive"] }
serde_json = "1.0.81"
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
vm-memory = { version = "0.8.0", features = ["backend-mmap"] }
vmm-sys-util = "0.9.0"