Commit graph

293 commits

Author SHA1 Message Date
Erin Power ae77e19456 Update dependencies 2023-08-02 23:00:54 +02:00
Embers-of-the-Fire 5257078123
add --languages ouput formatter (#1007) 2023-06-08 12:24:20 +02:00
Utkarsh Gupta c4bd7ceaed
Use XDG conventions on macOS too (#989) 2023-04-26 18:43:44 +02:00
Wu Tingfeng 8f286cc669
Add JSON5 support for languages.json (#986) 2023-04-25 09:42:32 +02:00
Erin Power 8a48c475c4 Release 13.0.0-alpha.0
tokei@13.0.0-alpha.0

Generated by cargo-workspaces
2023-03-27 17:48:17 +02:00
Erin Power f1486728ca Update dependencies 2022-08-14 17:17:29 +02:00
Brad Svercl 177d32e024
Clap v3 + clippy fixes (#872)
* feat: clap migration complete

* clippy fixes

* set minimum values for input

* fix(cli): allow multiple occurences on verbose

* bump
2022-02-01 15:30:42 +01:00
LovecraftianHorror 0152709e9a
Fix panic trim_first_and_last_line_of_whitespace on bad slice indices (#865)
* Fix panic from slice end being before slice start

* Fix fallback value for end index

Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
2021-12-20 09:07:01 +01:00
LovecraftianHorror 4a3fd427b8
Fix input output mismatch (#861)
* Fix input output mismatch

* Reduce output format breakage
2021-12-19 23:07:06 +01:00
dependabot[bot] a8d2d1d902
Bump serde from 1.0.127 to 1.0.128 (#816)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.127 to 1.0.128.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.127...v1.0.128)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 08:15:06 +02:00
dependabot[bot] 015dfa85b0
Bump serde_cbor from 0.11.1 to 0.11.2 (#815)
Bumps [serde_cbor](https://github.com/pyfisch/cbor) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/pyfisch/cbor/releases)
- [Commits](https://github.com/pyfisch/cbor/compare/v0.11.1...v0.11.2)

---
updated-dependencies:
- dependency-name: serde_cbor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 08:28:55 +02:00
dependabot[bot] 8b936d2730
Bump serde from 1.0.126 to 1.0.127 (#809)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.127.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.127)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-03 11:42:42 +02:00
QuarticCat c1397f3446
Beautify help messages (#791)
* Enable wrap_help feature of clap

* Enable `AppSettings::ColoredHelp` of clap

* Run `cargo fmt --all`

Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
2021-06-30 16:00:04 +02:00
Caden Haustein cc363d5f25
Fix audit warning (#789)
Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
2021-06-27 06:40:39 +02:00
dependabot[bot] a5d2cca4b7
Bump ignore from 0.4.17 to 0.4.18 (#785)
Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.17 to 0.4.18.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.17...ignore-0.4.18)

---
updated-dependencies:
- dependency-name: ignore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-27 06:39:16 +02:00
dependabot[bot] fd8d33c371
Bump arbitrary from 1.0.0 to 1.0.1 (#773)
Bumps [arbitrary](https://github.com/rust-fuzz/arbitrary) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rust-fuzz/arbitrary/releases)
- [Changelog](https://github.com/rust-fuzz/arbitrary/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-fuzz/arbitrary/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-27 06:39:05 +02:00
dependabot[bot] e1b65452a4
Bump serde from 1.0.125 to 1.0.126 (#765)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.125 to 1.0.126.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.125...v1.0.126)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-27 06:38:51 +02:00
Caden Haustein 4382ff75a5
Update git2 (#793) 2021-06-21 13:20:17 +02:00
Rachael Wright-Munn d90631d1bc
Add Color to Tokei (#751)
* Introduce Color to Tokei

* Add minimal color documentation

* fixup! Add minimal color documentation

Co-authored-by: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com>
2021-05-18 07:18:43 +02:00
Michael Macnair 66967a1b9e
Fuzzing (#726)
* Add fuzzing support

See fuzz/README.md for details. Example bug: #725

* improve fuzz docs

* fuzzing: make relevant config part of input

Most of the config is to do with what files to parse, however
one setting - treat_doc_strings_as_comments - does impact parse_from_slice

* fuzzing: improve docs + config clarity

* fuzz/README.md: install instructions + another todo item
2021-05-09 20:05:14 +02:00
Erin Power 0dc8481425 Update Cargo.lock 2021-05-09 14:18:39 +02:00
dependabot-preview[bot] 76deacc955 Bump regex from 1.4.5 to 1.4.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.5 to 1.4.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.4.5...1.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-23 04:59:41 +00:00
dependabot-preview[bot] 446f55fa5e Bump serde from 1.0.124 to 1.0.125
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.124 to 1.0.125.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 05:11:17 +00:00
dependabot-preview[bot] f81cfb1186 Bump regex from 1.4.4 to 1.4.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.4 to 1.4.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.4.4...1.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 04:52:49 +00:00
dependabot-preview[bot] 1b96925651 Bump serde from 1.0.123 to 1.0.124
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.123 to 1.0.124.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.123...v1.0.124)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-12 06:53:30 +00:00
dependabot-preview[bot] 1457b75282 Bump regex from 1.4.3 to 1.4.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.4.3...1.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-12 05:11:43 +00:00
dependabot-preview[bot] a5a8b6a66d Bump serde_json from 1.0.63 to 1.0.64
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.63...v1.0.64)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 04:59:42 +00:00
dependabot-preview[bot] 61d82f3b62 Bump serde_json from 1.0.62 to 1.0.63
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.62...v1.0.63)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 04:59:25 +00:00
dependabot-preview[bot] fd08c8b889 Bump serde_json from 1.0.61 to 1.0.62
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 04:54:54 +00:00
dependabot-preview[bot] 350420abfb Bump serde from 1.0.122 to 1.0.123
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.122 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 04:58:42 +00:00
dependabot-preview[bot] e5a4565336 Bump serde from 1.0.120 to 1.0.122
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.120 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.120...v1.0.122)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 04:49:51 +00:00
dependabot-preview[bot] 616fef161e Bump serde from 1.0.119 to 1.0.120
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.119 to 1.0.120.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.120)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 04:58:27 +00:00
Caden Haustein 684b296aa9
Replace dirs with dirs-next (#699) 2021-01-18 06:46:13 +00:00
dependabot-preview[bot] c72913eeb4 Bump serde from 1.0.118 to 1.0.119
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.118 to 1.0.119.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.119)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-13 06:12:14 +00:00
dependabot-preview[bot] 739b95cc06 Bump dashmap from 4.0.1 to 4.0.2
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-13 05:20:13 +00:00
Erin Power 7e0b30ff4c Release 12.1.2
tokei@12.1.2

Generated by cargo-workspaces
2021-01-12 20:48:02 +00:00
dependabot-preview[bot] fbd768011e
Bump dashmap from 3.11.10 to 4.0.1 (#680)
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 3.11.10 to 4.0.1.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v3.11.10...v4.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-11 11:35:59 +00:00
dependabot-preview[bot] 3c19fc7c96
Bump git2 from 0.13.14 to 0.13.15 (#683)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.14 to 0.13.15.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.14...0.13.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-11 11:35:24 +00:00
dependabot-preview[bot] 51e242e4d4
Bump serde_yaml from 0.8.14 to 0.8.15 (#691)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.14 to 0.8.15.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.14...0.8.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-11 11:34:58 +00:00
dependabot-preview[bot] 4e6a17f07a Bump regex from 1.4.2 to 1.4.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.4.2...1.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 04:54:37 +00:00
dependabot-preview[bot] 8fdee94601 Bump tera from 1.6.0 to 1.6.1
Bumps [tera](https://github.com/Keats/tera) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/Keats/tera/releases)
- [Changelog](https://github.com/Keats/tera/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Keats/tera/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-30 04:59:18 +00:00
Erin Power d20da64a77 Release 12.1.1
tokei@12.1.1

Generated by cargo-workspaces
2020-12-29 15:56:09 +00:00
dependabot-preview[bot] f938223a1a Bump serde_json from 1.0.60 to 1.0.61
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.60...v1.0.61)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 04:57:20 +00:00
Erin Power 4675f21bd4 Release 12.1.0
tokei@12.1.0

Generated by cargo-workspaces
2020-12-23 23:05:25 +00:00
dependabot-preview[bot] 55b98f3588
Bump aho-corasick from 0.7.14 to 0.7.15 (#650)
Bumps [aho-corasick](https://github.com/BurntSushi/aho-corasick) from 0.7.14 to 0.7.15.
- [Release notes](https://github.com/BurntSushi/aho-corasick/releases)
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.7.14...0.7.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-23 14:27:32 +00:00
dependabot-preview[bot] 99ea0d5e2b
Bump ignore from 0.4.16 to 0.4.17 (#661)
Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.16...ignore-0.4.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-23 14:27:17 +00:00
dependabot-preview[bot] 3174a9259d
Bump serde_yaml from 0.8.13 to 0.8.14 (#648)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.13 to 0.8.14.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.13...0.8.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-23 14:26:56 +00:00
dependabot-preview[bot] 6ad28262c8
Bump rayon from 1.4.1 to 1.5.0 (#647)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.4.1...rayon-core-v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-23 07:36:52 +00:00
dependabot-preview[bot] 541d9687f6
Bump crossbeam-channel from 0.4.4 to 0.5.0 (#640)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.4.4 to 0.5.0.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.4.4...crossbeam-channel-0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-23 02:57:46 +00:00
dependabot-preview[bot] b0f18c408d
Bump toml from 0.5.7 to 0.5.8 (#675)
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.7...0.5.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-23 02:55:01 +00:00