Commit graph

86 commits

Author SHA1 Message Date
Aaron Power 755070ee84 Implemented config files 2019-01-10 11:11:39 +01:00
Aaron Power 7c8a6b9b62 Added error message when top level path not found. fixes #161 2018-10-21 13:28:25 +01:00
Aaron Power e5893083c2 Refactor, and use buffered io for output 2018-10-08 16:55:47 +01:00
Aaron Power 296eeacb1b Updated Cargo.lock 2018-08-28 21:45:51 +01:00
Aaron Power ee5df4b4d3 Updated v8.0.0 and added comparison document 2018-08-25 22:00:24 +01:00
Aaron Power b8f90c2e6d Moved language data to LanguageType, added language filters, and added benchmark script. 2018-08-24 16:46:42 +01:00
Lukas Wirth 0e09919606 Acknowledge terminal width for output on Unix-systems (#246)
* Acknowledge terminal columns for output on linux

* Add column minimum

* Add windows column size support

* Add fallback const

* add term_size dependency

* Add inline comment
2018-08-22 07:58:33 +01:00
Igor Gnatenko 6f42d4c30e deps: update handlebars to 1 (#240)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-18 16:55:40 +01:00
Aaron Power a950ff128d Version 7.0.3 2018-06-02 17:23:45 +01:00
Aaron Power 9d3103e3bb Updated to use fs::read 2018-05-12 10:35:23 +01:00
Aaron Power 41c50a5cb5 Version 7.0.2
- Updated dependencies.
- Changed how compilied serialization formats are handled.
- Fixed minor parser inaccuracies.
- Tokei should now recognise more python files from their shebang.

**Added languages**
- @ignatenko Added Meson
- @sprang Added Scheme
- @fengcms Added Vue
- @mark.knol Added Haxe
- @rleungx Added ABAP, COBOL, and Groovy
- @tiehuis Added Zig
- @murielsilveira Added Mint
- @notramo Added Elvish Shell and Kakoune
- @aatxe Added Racket
- @kamilchm Added ReasonML
- @cyplp Added XSL
2018-04-23 14:24:14 +01:00
Aaron Power 7021e8fdf8 Updated dependencies 2018-04-16 15:57:48 +01:00
Aaron Power 99a11460b6 Updated Cargo.lock 2018-04-08 00:19:02 +01:00
Igor Gnatenko f51c02aade deps: update handlebars to 0.32 (#206)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-03-12 11:10:12 +00:00
Bastien Orivel 2a471bc5f3 Update rayon to 1.0 and run a full cargo update (#190) 2018-02-20 15:15:48 +00:00
Igor Gnatenko 4c274f4fc2 deps: update ignore to 0.4 (#188)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-02-15 22:45:23 +00:00
Igor Gnatenko 2d9d87d87a deps: update handlebars to 0.31 (#187)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-02-12 12:31:37 +00:00
Igor Gnatenko 39cd9d64c8 deps: update handlebars to 0.30 (#179)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-01-25 15:12:27 +00:00
Aaron Power 672179ee20 v7.0.1; Updated dependencies 2018-01-19 14:57:48 +00:00
Igor Gnatenko db4d85f6ca deps/env_logger: 0.5.0-rc.2 → 0.5.0 (#176)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-01-19 14:56:25 +00:00
Aaron Power 77380bc4b2 Version 7
* Fixed parsing corner cases
* Changed storage of comments and quotes from `Vec` to static slices.
* Added tracing for debugging single files. Not recommended for use on
multiple files
* Updated log
2018-01-15 01:42:39 +00:00
Aaron Power 8817762d7b Updated log, made changes recommended by clippy 2018-01-13 17:45:11 +00:00
Aaron Power 14f05734b4 Updated log 2018-01-06 19:06:20 +00:00
Aaron Power 477503e1ae Updated dependencies 2018-01-06 15:44:46 +00:00
Stjepan Glavina eb19471328 Update crossbeam to 0.2.12 (#171) 2018-01-06 14:37:53 +00:00
Igor Gnatenko 46ee5ff92f Bump serde_cbor to 0.8 (#167)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-01-01 22:53:59 +00:00
Igor Gnatenko c3b6fd7b77 bump ignore to 0.3, rayon to 0.9, handlebars to 0.29, hex to 0.3 (#158)
* bump ignore to 0.3

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

* bump rayon to 0.9

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

* bump handlebars to 0.29

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

* bump hex to 0.3

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>

* bump lazy_static to 1

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2017-12-02 14:59:44 +00:00
equal-l2 78112951ae Use eprintln! (#147)
eprint! and eprintln! has been introduced on Rust 1.19.0
They provides same functionalities as err! and errln!
2017-09-30 16:25:26 +01:00
Aaron Power 742e0e1754 Updated version 2017-08-31 20:11:35 +01:00
Aaron Power 37e0824cf7 Fixes #138, updated Cargo.lock 2017-08-31 20:11:00 +01:00
Aaron Power f53c796f27 Changed how tokei searches through files.
Updated dependencies
Changed languages.json formatting
2017-08-11 00:07:58 +01:00
Aaron Power 3b5aea4b91 Fixed #134, updated dependencies, clarified errors
Fixed an issue where if the ending comment was shorter than the starting
multi line comment the endding comment would be ignored.
2017-07-27 17:00:57 +01:00
Vanessa McHale 177d28988a added hamlet, cassius, lucius, cabal, nix, happy, alex, and madlang support (#133)
* update Cargo.lock so it builds + added hamlet, cassius, and madlang

* added more languages

* added .cabal files

* cabal comments

* no dhall extension yet :(
2017-07-16 20:42:57 +01:00
Aaron Power 2ac6693ca1 updated cargo.lock and changed trim 2017-03-28 21:00:48 +01:00
Aaron Power d3dc298708 Updated to use serde_derive, better tests, now uses macro for cli, updated dependencies 2017-02-15 19:42:08 +00:00
Adam Chodorowski 0867d97398 Update env_logger to 0.4 (#103)
This avoids bringing in another version of `regex` (and it's dependencies).
2017-02-10 12:22:24 +00:00
Aaron Power b7a892f475 v5.0.6: Updated dependencies, fixed exclude bug, and now defaults to
running the current directory over failing.
2017-01-15 00:22:28 +00:00
Aaron Power f6871e101c fixed json test 2017-01-03 14:38:38 +00:00
Aaron Power c08f113c2d version 5: optimised stats, language generation 2017-01-03 00:02:18 +00:00
Aaron Power 759e49d1ea Version bump 2016-12-08 23:31:36 +00:00
Aaron Power 5c11e76c88 Updated dependencies, changed some unwraps with expect, and made
build process drier
2016-12-08 23:31:35 +00:00
David Tolnay d8c77fa5f6 Update to serde_json 0.8.4 (#85) 2016-12-08 23:31:35 +00:00
Aaron Power ca9d1926fe Fixed serialisation features 2016-12-03 13:22:56 +00:00
Aaron Power bf304dd8eb Fix for languages with no single line comments panicing 2016-11-27 18:13:30 +00:00
Aaron Power 9c0e7a204f Version bump, updated README, and CHANGELOG 2016-11-27 16:24:41 +00:00
Aaron Power 913752de0c Switched to using ignore, more parallelisation 2016-11-27 15:57:22 +00:00
Aaronepower a72121f67b Added heuristics 2016-11-26 16:33:28 +00:00
Aaronepower 5fab02a76d Simplified language definitions. 2016-10-27 00:55:22 +01:00
Aaronepower 073c64fc72 updated cargo.lock 2016-09-20 22:57:35 +01:00
Aaron Power 4541d2f394 Version bump, and updated changelog 2016-09-20 22:57:34 +01:00