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-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"
|
|
|
|
|
2016-09-17 21:45:37 +00:00
|
|
|
[build-dependencies]
|
2020-06-10 04:38:44 +00:00
|
|
|
tera = "1.3.1"
|
2020-06-01 08:03:08 +00:00
|
|
|
ignore = "0.4.16"
|
2020-06-10 05:07:07 +00:00
|
|
|
serde_json = "1.0.54"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-03-18 00:58:44 +00:00
|
|
|
aho-corasick = "0.7.10"
|
2020-05-12 04:41:26 +00:00
|
|
|
clap = "2.33.1"
|
2020-03-18 00:58:44 +00:00
|
|
|
crossbeam-channel = "0.4.2"
|
2019-10-09 11:13:48 +00:00
|
|
|
dirs = "2.0.2"
|
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-06-01 08:03:08 +00:00
|
|
|
ignore = "0.4.16"
|
2019-06-10 16:30:00 +00:00
|
|
|
log = "0.4.6"
|
2019-12-23 13:19:23 +00:00
|
|
|
rayon = "1.3.0"
|
2020-06-01 04:37:28 +00:00
|
|
|
serde = { version = "1.0.111", features = ["derive", "rc"] }
|
2020-05-04 09:40:17 +00:00
|
|
|
term_size = "0.3.2"
|
2020-01-17 09:27:50 +00:00
|
|
|
toml = "0.5.6"
|
2020-04-13 15:27:33 +00:00
|
|
|
parking_lot = "0.10.2"
|
2020-06-03 04:41:10 +00:00
|
|
|
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
|
|
|
|
2016-09-20 20:49:47 +00:00
|
|
|
[dependencies.env_logger]
|
2016-09-20 21:59:45 +00:00
|
|
|
features = []
|
2019-10-17 17:35:00 +00:00
|
|
|
version = "0.7.1"
|
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_json]
|
|
|
|
optional = true
|
2020-06-10 05:07:07 +00:00
|
|
|
version = "1.0.54"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
|
|
|
[dependencies.serde_yaml]
|
|
|
|
optional = true
|
2020-05-11 14:36:25 +00:00
|
|
|
version = "0.8.12"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
2016-09-17 21:45:37 +00:00
|
|
|
[dev-dependencies]
|
2020-05-29 04:37:44 +00:00
|
|
|
regex = "1.3.9"
|
2019-06-10 16:30:00 +00:00
|
|
|
tempfile = "3.0.8"
|
2020-04-27 06:09:56 +00:00
|
|
|
git2 = { version = "0.13.5", default-features = false, features = [] }
|