2016-08-01 17:06:01 +00:00
|
|
|
[package]
|
2019-07-04 20:21:27 +00:00
|
|
|
authors = ["Erin Power <xampprocky@gmail.com>"]
|
2016-11-27 15:54:35 +00:00
|
|
|
build = "build.rs"
|
2018-08-24 15:46:42 +00:00
|
|
|
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."
|
2019-03-11 16:00:03 +00:00
|
|
|
edition = "2018"
|
2016-12-21 13:44:54 +00:00
|
|
|
homepage = "https://tokei.rs"
|
2018-08-24 15:46:42 +00:00
|
|
|
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-12-29 15:56:09 +00:00
|
|
|
version = "12.1.1"
|
2017-01-20 16:48:17 +00:00
|
|
|
|
2020-02-14 13:21:20 +00:00
|
|
|
[features]
|
2020-06-21 16:59:17 +00:00
|
|
|
all = ["cbor", "yaml"]
|
2020-02-14 13:21:20 +00:00
|
|
|
cbor = ["hex", "serde_cbor"]
|
|
|
|
default = []
|
|
|
|
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"
|
|
|
|
|
2016-09-17 21:45:37 +00:00
|
|
|
[build-dependencies]
|
2020-12-30 04:29:25 +00:00
|
|
|
tera = "1.6.1"
|
2020-12-23 14:27:17 +00:00
|
|
|
ignore = "0.4.17"
|
2020-12-29 04:30:13 +00:00
|
|
|
serde_json = "1.0.61"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-12-23 14:27:32 +00:00
|
|
|
aho-corasick = "0.7.15"
|
2020-08-14 04:37:38 +00:00
|
|
|
clap = "2.33.3"
|
2020-12-23 02:57:46 +00:00
|
|
|
crossbeam-channel = "0.5.0"
|
2020-09-20 13:31:17 +00:00
|
|
|
dirs = "3.0.1"
|
2020-02-10 05:10:17 +00:00
|
|
|
encoding_rs_io = "0.1.7"
|
2020-03-18 00:58:44 +00:00
|
|
|
grep-searcher = "0.1.7"
|
2020-12-23 14:27:17 +00:00
|
|
|
ignore = "0.4.17"
|
2020-09-20 13:31:37 +00:00
|
|
|
log = "0.4.11"
|
2020-12-23 07:36:52 +00:00
|
|
|
rayon = "1.5.0"
|
2020-12-07 04:29:08 +00:00
|
|
|
serde = { version = "1.0.118", features = ["derive", "rc"] }
|
2020-05-04 09:40:17 +00:00
|
|
|
term_size = "0.3.2"
|
2020-12-23 02:55:01 +00:00
|
|
|
toml = "0.5.8"
|
2020-11-18 08:15:31 +00:00
|
|
|
parking_lot = "0.11.1"
|
2020-08-05 04:36:30 +00:00
|
|
|
dashmap = { version = "3.11.10", features = ["serde"] }
|
2020-07-17 05:05:11 +00:00
|
|
|
num-format = "0.4.0"
|
2020-11-13 04:30:46 +00:00
|
|
|
once_cell = "1.5.2"
|
2020-11-02 04:26:58 +00:00
|
|
|
regex = "1.4.2"
|
2020-12-29 04:30:13 +00:00
|
|
|
serde_json = "1.0.61"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
2016-09-20 20:49:47 +00:00
|
|
|
[dependencies.env_logger]
|
2016-09-20 21:59:45 +00:00
|
|
|
features = []
|
2020-11-19 06:04:50 +00:00
|
|
|
version = "0.8.2"
|
2017-01-02 22:47:10 +00:00
|
|
|
|
|
|
|
[dependencies.hex]
|
|
|
|
optional = true
|
2020-03-04 18:57:26 +00:00
|
|
|
version = "0.4.2"
|
2016-09-20 20:49:47 +00:00
|
|
|
|
2018-08-24 15:46:42 +00:00
|
|
|
[dependencies.serde_cbor]
|
2017-02-15 19:42:08 +00:00
|
|
|
optional = true
|
2020-01-13 06:05:41 +00:00
|
|
|
version = "0.11.1"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
|
|
|
[dependencies.serde_yaml]
|
|
|
|
optional = true
|
2020-12-23 14:26:56 +00:00
|
|
|
version = "0.8.14"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
2016-09-17 21:45:37 +00:00
|
|
|
[dev-dependencies]
|
2020-11-02 04:26:58 +00:00
|
|
|
regex = "1.4.2"
|
2019-06-10 16:30:00 +00:00
|
|
|
tempfile = "3.0.8"
|
2020-12-23 02:54:05 +00:00
|
|
|
git2 = { version = "0.13.14", default-features = false, features = [] }
|