From f0659e10783cc81ba64095fbac9a53eb5da91716 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Fri, 15 Jul 2016 16:24:26 +0200 Subject: next iteration --- serde-tests/Cargo.toml | 1 - serde-tests/build.rs | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'serde-tests') diff --git a/serde-tests/Cargo.toml b/serde-tests/Cargo.toml index 97d743a..aca29cb 100644 --- a/serde-tests/Cargo.toml +++ b/serde-tests/Cargo.toml @@ -9,7 +9,6 @@ serde = "0.7" toml = { path = "..", features = ["serde"] } [build-dependencies] -syntex = "0.33" serde_codegen = "0.7" [lib] diff --git a/serde-tests/build.rs b/serde-tests/build.rs index 7acbef5..1cc5062 100644 --- a/serde-tests/build.rs +++ b/serde-tests/build.rs @@ -1,4 +1,3 @@ -extern crate syntex; extern crate serde_codegen; use std::env; @@ -10,8 +9,5 @@ fn main() { let src = Path::new("test.rs.in"); let dst = Path::new(&out_dir).join("test.rs"); - let mut registry = syntex::Registry::new(); - - serde_codegen::register(&mut registry); - registry.expand("", &src, &dst).unwrap(); + serde_codegen::expand(&src, &dst).unwrap(); } -- cgit v1.2.3