2016-06-10 21:33:27 +00:00
|
|
|
# Copyright (c) 2015 Aaron Power
|
|
|
|
# Use of this source code is governed by the MIT/APACHE2.0 license that can be
|
|
|
|
# found in the LICENCE-{APACHE, MIT} file.
|
|
|
|
[package]
|
|
|
|
name = "tokei"
|
2016-06-12 14:27:32 +00:00
|
|
|
version = "3.0.1"
|
2016-06-10 21:33:27 +00:00
|
|
|
authors = ["Aaronepower <theaaronepower@gmail.com>"]
|
|
|
|
repository = "https://github.com/Aaronepower/tokei.git"
|
|
|
|
homepage = "https://aaronepower.github.io/tokei/"
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
readme = "README.md"
|
|
|
|
description = "Count code, quickly."
|
|
|
|
build = "src/lib/build.rs"
|
2016-06-12 14:34:44 +00:00
|
|
|
include = ["src/**/*", "Cargo.toml", "LICENCE-APACHE.md", "LICENCE-MIT.md"]
|
2016-06-10 21:33:27 +00:00
|
|
|
[lib]
|
|
|
|
name = "tokei"
|
|
|
|
path = "src/lib/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "tokei"
|
|
|
|
path = "src/main.rs"
|
|
|
|
doc = false
|
|
|
|
|
|
|
|
# For building serde in stable.
|
|
|
|
[build-dependencies]
|
2016-06-12 14:27:32 +00:00
|
|
|
serde_codegen = "=0.7.10"
|
|
|
|
syntex = "=0.35.0"
|
2016-06-10 21:33:27 +00:00
|
|
|
|
|
|
|
# Dependencies, and why they are used.
|
|
|
|
# - Clap: For CLI argument parsing.
|
|
|
|
# - Glob: When a user passes in a ./*.rs path.
|
|
|
|
# - Maplit: Cleaner initialization of the language map.
|
|
|
|
# - Rayon: Parallelization of language analysation.
|
|
|
|
# - Rustc-serialize: Converting String to hex, for CBOR.
|
|
|
|
# - Serde: Converting Language struct to other formats.
|
|
|
|
# - Serde_cbor: To CBOR. http://cbor.io/
|
|
|
|
# - Serde_json: To JSON. http://json.org/
|
|
|
|
# - Serde_yaml: To YAML. http://yaml.org/
|
|
|
|
# - serializable_enum: To fix a dumb change in behaviour in serde, hopefully to be removed next release. https://github.com/serde-rs/serde/issues/251
|
|
|
|
# - Toml: To TOML https://github.com/toml-lang/toml
|
|
|
|
# - Walkdir: Handling recursively reading directories across Windows, OSX, and UNIX.
|
|
|
|
[dependencies]
|
|
|
|
clap = {version = "2.5.1", features = ["yaml"]}
|
|
|
|
glob = "0.2.11"
|
|
|
|
maplit = "0.1.3"
|
|
|
|
rayon = "0.3.1"
|
|
|
|
rustc-serialize = "0.3.19"
|
2016-06-12 14:27:32 +00:00
|
|
|
serde = "0.7.10"
|
2016-06-10 21:33:27 +00:00
|
|
|
serde_cbor = "0.3.3"
|
2016-06-12 14:27:32 +00:00
|
|
|
serde_json = "0.7.1"
|
|
|
|
serde_yaml = "0.2.5"
|
2016-06-10 21:33:27 +00:00
|
|
|
serializable_enum = "0.3.0"
|
|
|
|
walkdir = "0.1.5"
|
|
|
|
|
|
|
|
[dependencies.toml]
|
|
|
|
version = "0.1.30"
|
|
|
|
default-features = false
|
|
|
|
features = ["serde"]
|