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:
Maksym Pavlenko
2022-05-17 14:04:38 -07:00
committed by Sebastien Boeuf
parent 7f29cef5d2
commit 3a0429c998
29 changed files with 31 additions and 48 deletions

View File

@@ -23,8 +23,7 @@ net_util = { path = "../net_util" }
pci = { path = "../pci" }
rate_limiter = { path = "../rate_limiter" }
seccompiler = "0.2.0"
serde = "1.0.137"
serde_derive = "1.0.137"
serde = { version="1.0.137", features=["derive"] }
serde_json = "1.0.81"
thiserror = "1.0.31"
versionize = "0.1.6"

View File

@@ -14,9 +14,8 @@
extern crate event_monitor;
#[macro_use]
extern crate log;
#[macro_use]
extern crate serde_derive;
use serde::{Deserialize, Serialize};
use std::convert::TryInto;
use std::io;