diff --git a/Cargo.toml b/Cargo.toml index 27b15e23a..e0d13422b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,6 @@ build = "build.rs" [build-dependencies] rustc_version = "0.1" syntex = "*" -serde_codegen = "0.7.0" "ethcore-ipc-codegen" = { path = "ipc/codegen" } [dependencies] diff --git a/build.rs b/build.rs index 9bb9ec249..25764f4be 100644 --- a/build.rs +++ b/build.rs @@ -17,7 +17,6 @@ extern crate rustc_version; extern crate syntex; extern crate ethcore_ipc_codegen as codegen; -extern crate serde_codegen; use std::env; use std::path::Path; @@ -39,12 +38,12 @@ fn main() { registry.expand("", &src, &dst).unwrap(); } - // serde pass + // serialization pass { let src = Path::new(&out_dir).join("hypervisor_service_ipc.rs"); let dst = Path::new(&out_dir).join("hypervisor_service_cg.rs"); let mut registry = syntex::Registry::new(); - serde_codegen::register(&mut registry); + codegen::register(&mut registry); registry.expand("", &src, &dst).unwrap(); } }