mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-10-05 23:39:28 +00:00
removed syntex used new serde build process
This commit is contained in:
parent
f56efb6f22
commit
4e671b5fa9
3
Cargo.lock
generated
3
Cargo.lock
generated
|
@ -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)",
|
||||
]
|
||||
|
|
|
@ -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.
|
||||
|
|
2
cli.yml
2
cli.yml
|
@ -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.
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue