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

@ -6,6 +6,5 @@ edition = "2021"
[dependencies]
libc = "0.2.125"
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"

View file

@ -3,9 +3,7 @@
// SPDX-License-Identifier: Apache-2.0
//
#[macro_use]
extern crate serde_derive;
use serde::Serialize;
use std::borrow::Cow;
use std::collections::HashMap;
use std::fs::File;