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"
|
2021-06-21 11:20:17 +00:00
|
|
|
include = [
|
|
|
|
"Cargo.lock",
|
|
|
|
"Cargo.toml",
|
|
|
|
"LICENCE-APACHE",
|
|
|
|
"LICENCE-MIT",
|
|
|
|
"build.rs",
|
|
|
|
"languages.json",
|
|
|
|
"src/**/*",
|
|
|
|
]
|
2018-08-24 15:46:42 +00:00
|
|
|
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"
|
2023-03-27 15:48:17 +00:00
|
|
|
version = "13.0.0-alpha.0"
|
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]
|
2022-02-01 14:30:42 +00:00
|
|
|
tera = "1.15"
|
|
|
|
ignore = "0.4"
|
|
|
|
serde_json = "1"
|
2023-04-25 07:42:32 +00:00
|
|
|
json5 = "0.4"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-02-01 14:30:42 +00:00
|
|
|
aho-corasick = "0.7"
|
|
|
|
arbitrary = { version = "1", features = ["derive"] }
|
|
|
|
clap = { version = "3", features = ["cargo", "wrap_help"] }
|
2021-05-18 05:18:43 +00:00
|
|
|
colored = "2"
|
2022-02-01 14:30:42 +00:00
|
|
|
crossbeam-channel = "0.5"
|
|
|
|
encoding_rs_io = "0.1"
|
|
|
|
grep-searcher = "0.1"
|
|
|
|
ignore = "0.4"
|
|
|
|
log = "0.4"
|
2020-12-23 07:36:52 +00:00
|
|
|
rayon = "1.5.0"
|
2022-02-01 14:30:42 +00:00
|
|
|
serde = { version = "1.0.128", features = ["derive", "rc"] }
|
|
|
|
term_size = "0.3"
|
|
|
|
toml = "0.5"
|
2022-08-14 15:17:29 +00:00
|
|
|
parking_lot = "0.12"
|
2022-02-01 14:30:42 +00:00
|
|
|
dashmap = { version = "5.0.0", features = ["serde"] }
|
2020-07-17 05:05:11 +00:00
|
|
|
num-format = "0.4.0"
|
2022-02-01 14:30:42 +00:00
|
|
|
once_cell = "1.9"
|
|
|
|
regex = "1.5"
|
|
|
|
serde_json = "1"
|
2023-04-26 16:43:44 +00:00
|
|
|
etcetera = "0.8"
|
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 = []
|
2022-08-14 15:17:29 +00:00
|
|
|
version = "0.9"
|
2017-01-02 22:47:10 +00:00
|
|
|
|
|
|
|
[dependencies.hex]
|
|
|
|
optional = true
|
2022-02-01 14:30:42 +00:00
|
|
|
version = "0.4"
|
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
|
2021-08-16 06:28:55 +00:00
|
|
|
version = "0.11.2"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
|
|
|
[dependencies.serde_yaml]
|
|
|
|
optional = true
|
2022-08-14 15:17:29 +00:00
|
|
|
version = "0.9"
|
2016-08-01 17:06:01 +00:00
|
|
|
|
2016-09-17 21:45:37 +00:00
|
|
|
[dev-dependencies]
|
2022-02-01 14:30:42 +00:00
|
|
|
proptest = "1"
|
2022-08-14 15:17:29 +00:00
|
|
|
strum = "0.24"
|
|
|
|
strum_macros = "0.24"
|
2022-02-01 14:30:42 +00:00
|
|
|
tempfile = "3.2"
|
2022-08-14 15:17:29 +00:00
|
|
|
git2 = { version = "0.15", default-features = false, features = [] }
|