removed syntex used new serde build process

This commit is contained in:
Aaronepower 2016-06-12 18:27:05 +01:00
parent f56efb6f22
commit 4e671b5fa9
4 changed files with 5 additions and 11 deletions

3
Cargo.lock generated
View File

@ -1,6 +1,6 @@
[root]
name = "tokei"
version = "3.0.0"
version = "3.0.1"
dependencies = [
"clap 2.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
"glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
@ -13,7 +13,6 @@ dependencies = [
"serde_json 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_yaml 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serializable_enum 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"syntex 0.35.0 (registry+https://github.com/rust-lang/crates.io-index)",
"toml 0.1.30 (registry+https://github.com/rust-lang/crates.io-index)",
"walkdir 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
]

View File

@ -3,7 +3,7 @@
# found in the LICENCE-{APACHE, MIT} file.
[package]
name = "tokei"
version = "3.0.1"
version = "3.0.2"
authors = ["Aaronepower <theaaronepower@gmail.com>"]
repository = "https://github.com/Aaronepower/tokei.git"
homepage = "https://aaronepower.github.io/tokei/"
@ -23,8 +23,7 @@ doc = false
# For building serde in stable.
[build-dependencies]
serde_codegen = "=0.7.10"
syntex = "=0.35.0"
serde_codegen = "0.7.10"
# Dependencies, and why they are used.
# - Clap: For CLI argument parsing.

View File

@ -5,7 +5,7 @@ about: Count Code, Quickly.
author: Aaron P. <theaaronepower@gmail.com>
bin_name: Tokei
name: Tokei
version: 3.0.1
version: 3.0.2
args:
- exclude:
help: Ignore all files & directories containing the word.

View File

@ -1,4 +1,3 @@
extern crate syntex;
extern crate serde_codegen;
use std::env;
@ -10,8 +9,5 @@ pub fn main() {
let src = Path::new("src/lib/lib.rs.in");
let dst = Path::new(&out_dir).join("lib.rs");
let mut registry = syntex::Registry::new();
serde_codegen::register(&mut registry);
registry.expand("", &src, &dst).unwrap();
serde_codegen::expand(&src, &dst).unwrap();
}