about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-05 10:51:47 +0900
committerHirokazu Hata <h.hata.ai.t@gmail.com>2019-02-05 10:51:47 +0900
commit6904fac6d915b9bb3538ac2e6fbd31ad301a64c8 (patch)
tree794f7f7755d5ae94686b3c99c5c7deb991ba8441 /src/tools
parent212533afbe352e74c6c8bb64c2d8b526cfa15350 (diff)
Use derive feature of serde
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/build-manifest/Cargo.toml2
-rw-r--r--src/tools/build-manifest/src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/build-manifest/Cargo.toml b/src/tools/build-manifest/Cargo.toml
index 0fda887ea61..93d0f61e1d9 100644
--- a/src/tools/build-manifest/Cargo.toml
+++ b/src/tools/build-manifest/Cargo.toml
@@ -6,5 +6,5 @@ edition = "2018"
 
 [dependencies]
 toml = "0.4"
-serde = "1.0"
+serde = { version = "1.0", features = ["derive"] }
 serde_derive = "1.0"
diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs
index 9d88ac8dd04..335cd617759 100644
--- a/src/tools/build-manifest/src/main.rs
+++ b/src/tools/build-manifest/src/main.rs
@@ -1,7 +1,7 @@
 #![deny(rust_2018_idioms)]
 
 use toml;
-use serde_derive::Serialize;
+use serde::Serialize;
 
 use std::collections::BTreeMap;
 use std::env;