tokei/Cargo.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

85 lines
1.8 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"
2021-06-21 11:20:17 +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"
version = "13.0.0-alpha.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"
[build-dependencies]
2023-08-02 21:00:54 +00:00
tera = "1.19.0"
ignore = "0.4.20"
serde_json = "1.0.104"
json5 = "0.4.1"
2016-08-01 17:06:01 +00:00
[dependencies]
2023-08-02 21:00:54 +00:00
aho-corasick = "1.0.2"
arbitrary = { version = "1.3.0", features = ["derive"] }
clap = { version = "3", features = ["cargo", "wrap_help"] }
2023-08-02 21:00:54 +00:00
colored = "2.0.4"
crossbeam-channel = "0.5.8"
encoding_rs_io = "0.1.7"
grep-searcher = "0.1.11"
ignore = "0.4.20"
log = "0.4.19"
rayon = "1.7.0"
serde = { version = "1.0.180", features = ["derive", "rc"] }
term_size = "0.3.2"
toml = "0.7.6"
parking_lot = "0.12.1"
dashmap = { version = "5.5.0", features = ["serde"] }
num-format = "0.4.4"
once_cell = "1.18.0"
regex = "1.9.1"
serde_json = "1.0.104"
etcetera = "0.8.0"
table_formatter = "0.6.1"
2016-08-01 17:06:01 +00:00
[dependencies.env_logger]
2016-09-20 21:59:45 +00:00
features = []
2023-08-02 21:00:54 +00:00
version = "0.10.0"
[dependencies.hex]
optional = true
2023-08-02 21:00:54 +00:00
version = "0.4.3"
[dependencies.serde_cbor]
optional = true
version = "0.11.2"
2016-08-01 17:06:01 +00:00
[dependencies.serde_yaml]
optional = true
2023-08-02 21:00:54 +00:00
version = "0.9.25"
2016-08-01 17:06:01 +00:00
[dev-dependencies]
2023-08-02 21:00:54 +00:00
proptest = "1.2.0"
strum = "0.25.0"
strum_macros = "0.25.1"
tempfile = "3.7.0"
git2 = { version = "0.17.2", default-features = false, features = [] }