Cargo.toml: use serde feature derive

This commit is contained in:
Dietmar Maurer 2019-06-18 06:23:25 +02:00
parent ac71623483
commit 11515438cc
2 changed files with 2 additions and 3 deletions

View File

@ -14,9 +14,8 @@ proxmox-protocol = { path = "proxmox-protocol" }
log = "0.4"
syslog = "4.0"
failure = "0.1"
serde = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_derive = "1.0"
url = "1.7"
futures = "0.1"
bytes = "0.4"

View File

@ -4,7 +4,7 @@ use std::path::{Path, PathBuf};
use std::io::Write;
use std::sync::{Arc, Mutex};
use std::os::unix::io::AsRawFd;
use serde_derive::Serialize;
use serde::Serialize;
use crate::tools;
use super::DataChunk;