tokei/Cargo.toml

73 lines
1.6 KiB
TOML
Raw Normal View History

2016-08-01 17:06:01 +00:00
[package]
2019-07-04 20:21:27 +00:00
authors = ["Erin Power <xampprocky@gmail.com>"]
build = "build.rs"
categories = ["command-line-utilities", "development-tools", "visualization"]
Version 11.0.0 **Added languages** - @bwidawsk GNU Assembly, GDB Script - @isker Dust, Apache Velocity - @andreblanke FreeMarker Thanks to some major internal refactoring, Tokei has received significant performance improvements, and is now one of the fastest code counters across any size of codebase. With Tokei 11 showing up to 40–60% faster results than tokei's previous version. To showcase the improvements I've highlighted benchmarks of counting five differently sized codebases. Redis (~220k lines), Rust (~16M lines), and the Unreal Engine (~37.5M lines). In every one of these benchmarks Tokei 11 performed the best by a noticeable margin. *All benchmarks were done on a 15-inch MacBook Pro, with a 2.7GHz Intel Core i7 processor and 16GB 2133 MHz LPDDR3 RAM running macOS Catalina 10.15.3. Your mileage may vary, All benchmarks were done using [hyperfine], using default settings for all programs.* [hyperfine]: https://github.com/sharkdp/hyperfine ### Tokei **Note** This benchmark is not accurate due to `tokei` and `loc` both taking less than 5ms to complete, there is a high degree of error between the times and should mostly be considered equivalent. However it is included because it is notable that `scc` takes nearly 3x as long to complete on smaller codebases (~5k lines). ![Graph comparing programs running on the tokei source code](https://docs.google.com/spreadsheets/d/e/2PACX-1vRN2Um3G9Mn4Bg6UVWwgntsMy4faZMIP3EDjAfY5Y6Tav7T5z1TxVKmPu7wUNIpUSsSJDfCNH0SAKBB/pubchart?oid=1242634543&format=image) ### Redis ![Graph comparing programs running on the redis source code](https://docs.google.com/spreadsheets/d/e/2PACX-1vRN2Um3G9Mn4Bg6UVWwgntsMy4faZMIP3EDjAfY5Y6Tav7T5z1TxVKmPu7wUNIpUSsSJDfCNH0SAKBB/pubchart?oid=2009389097&format=image) ### Rust ![Graph comparing programs running on the rust source code](https://docs.google.com/spreadsheets/d/e/2PACX-1vRN2Um3G9Mn4Bg6UVWwgntsMy4faZMIP3EDjAfY5Y6Tav7T5z1TxVKmPu7wUNIpUSsSJDfCNH0SAKBB/pubchart?oid=424069399&format=image) ### Unreal ![Graph comparing programs running on the unreal source code](https://docs.google.com/spreadsheets/d/e/2PACX-1vRN2Um3G9Mn4Bg6UVWwgntsMy4faZMIP3EDjAfY5Y6Tav7T5z1TxVKmPu7wUNIpUSsSJDfCNH0SAKBB/pubchart?oid=439405321&format=image)
2020-03-21 13:40:49 +00:00
description = "Count your code, quickly."
edition = "2018"
homepage = "https://tokei.rs"
include = ["Cargo.lock", "Cargo.toml", "LICENCE-APACHE", "LICENCE-MIT", "build.rs", "languages.json", "src/**/*"]
keywords = ["utility", "cli", "cloc", "lines", "statistics"]
2016-08-01 17:06:01 +00:00
license = "MIT/Apache-2.0"
name = "tokei"
readme = "README.md"
2019-03-30 11:25:35 +00:00
repository = "https://github.com/XAMPPRocky/tokei.git"
2020-05-28 04:03:26 +00:00
version = "11.2.1"
2017-01-20 16:48:17 +00:00
2020-02-14 13:21:20 +00:00
[features]
all = ["json", "cbor", "yaml"]
cbor = ["hex", "serde_cbor"]
default = []
json = ["serde_json"]
yaml = ["serde_yaml"]
[profile.release]
2020-03-20 17:43:31 +00:00
lto = "thin"
2020-02-14 13:21:20 +00:00
panic = "abort"
[build-dependencies]
tera = "1.3.1"
ignore = "0.4.16"
serde_json = "1.0.54"
2016-08-01 17:06:01 +00:00
[dependencies]
aho-corasick = "0.7.10"
clap = "2.33.1"
crossbeam-channel = "0.4.2"
dirs = "2.0.2"
encoding_rs_io = "0.1.7"
grep-searcher = "0.1.7"
ignore = "0.4.16"
2019-06-10 16:30:00 +00:00
log = "0.4.6"
rayon = "1.3.0"
serde = { version = "1.0.111", features = ["derive", "rc"] }
term_size = "0.3.2"
toml = "0.5.6"
parking_lot = "0.10.2"
dashmap = { version = "3.11.4", features = ["serde"] }
2020-05-28 05:40:18 +00:00
once_cell = "1.4.0"
2016-08-01 17:06:01 +00:00
[dependencies.env_logger]
2016-09-20 21:59:45 +00:00
features = []
version = "0.7.1"
[dependencies.hex]
optional = true
version = "0.4.2"
[dependencies.serde_cbor]
optional = true
version = "0.11.1"
2016-08-01 17:06:01 +00:00
[dependencies.serde_json]
optional = true
version = "1.0.54"
2016-08-01 17:06:01 +00:00
[dependencies.serde_yaml]
optional = true
version = "0.8.12"
2016-08-01 17:06:01 +00:00
[dev-dependencies]
regex = "1.3.9"
2019-06-10 16:30:00 +00:00
tempfile = "3.0.8"
git2 = { version = "0.13.5", default-features = false, features = [] }