mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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>
This commit is contained in:
committed by
Sebastien Boeuf
parent
7f29cef5d2
commit
3a0429c998
@@ -13,8 +13,7 @@ mshv = ["vfio-ioctls/mshv"]
|
||||
anyhow = "1.0.57"
|
||||
hypervisor = { path = "../hypervisor" }
|
||||
thiserror = "1.0.31"
|
||||
serde = { version = "1.0.137", features = ["rc"] }
|
||||
serde_derive = "1.0.137"
|
||||
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"] }
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
mod bus;
|
||||
pub mod dma_mapping;
|
||||
|
||||
Reference in New Issue
Block a user