From 9bc85993c5edef3dac2665412fe36d9b80d2be8f Mon Sep 17 00:00:00 2001 From: Mario Krehl Date: Sun, 10 Dec 2017 11:47:03 +0100 Subject: Add serde feature to dependency chrono --- Cargo.lock | 1 + Cargo.toml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 77e855e..08eb603 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -105,6 +105,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/Cargo.toml b/Cargo.toml index c5ecaea..c61d57f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,6 @@ name = "aklog-server" version = "0.1.0" [dependencies] -chrono = "0.4" clap = "2" dimensioned = "0.6" error-chain = "0.11" @@ -18,3 +17,8 @@ serde_derive = "1" serde_json = "1" simplelog = "^0.4.3" toml = "^0.4" + +[dependencies.chrono] +features = [ "serde" ] +version = "0.4" + -- cgit v1.2.3