Commit Graph

199 Commits (id_arena_syntax)

Author SHA1 Message Date
Wilfred Hughes 4fa5505431 WIP 2023-08-18 09:11:42 +07:00
Wilfred Hughes dac3cd9ed5 Update typed-arena library version
This is perf neutral: a tiny win for typing_before.ml, and an een
smaller regressio for slow_before.rs.
2023-08-17 23:55:24 +07:00
Alex Krantz 11a96e5aec Add JSON cli flag 2023-08-17 08:49:59 +07:00
Wilfred Hughes 11899a237c Roll version 2023-08-15 23:40:23 +07:00
Wilfred Hughes 3c702d0490 Use humansize for file size formatting 2023-08-12 22:34:11 +07:00
Wilfred Hughes 1e97003da9 Update to latest rayon
This is also a tiny perf win (2.467B instructions to 2.429B
instructions for slow_before.rs).
2023-08-08 08:22:30 +07:00
Wilfred Hughes 4fdc8eebcd Increase MSRV to 1.59 2023-08-07 20:32:08 +07:00
Wilfred Hughes 2f3f0a875a Add note about how MSRV is chosen 2023-08-05 10:17:58 +07:00
Wilfred Hughes 448972f8a3 Roll version 2023-07-26 20:02:23 +07:00
Wilfred Hughes 0cb1cdbb3e Document MSRV for newer bumpalo 2023-07-26 15:12:55 +07:00
Wilfred Hughes 65b235be28 Move to edition 2021 2023-07-26 15:06:21 +07:00
Wilfred Hughes 070dc3b4a5 Update crossterm version
This provides some minor bugfixes for Windows width detection:
https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md

This cherry-picks a525196635, after the
MSRV bump.
2023-07-26 14:56:52 +07:00
Wilfred Hughes b3acf48128 Bump minimum required Rust version to 1.58
Difftastic is generally conservative about MSRV, and will only
increase the version when there is a compelling reason (e.g. major
performance improvement, important bug fix in a dependendency).

This version increase will enable us to upgrade crossterm to 0.26, which
has better detection of terminal width on Windows.

I've also clarified MSRV details for other dependencies that cannot
currently be upgraded.
2023-07-26 11:34:05 +07:00
Wilfred Hughes 721ad0863d Revert "Update crossterm version"
This reverts commit a525196635.

Looks like it doesn't compile on Rust 1.57.
2023-07-26 11:17:50 +07:00
Wilfred Hughes ff5165ef72 Update strum dependency 2023-07-24 22:30:46 +07:00
Wilfred Hughes a525196635 Update crossterm version
This provides some minor bugfixes for Windows width detection:
https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md
2023-07-23 10:32:49 +07:00
Wilfred Hughes 2d2a1484fd Roll version 2023-07-12 17:10:34 +07:00
Wilfred Hughes b1f7e21e83 Move to hashbrown 0.12 to meet our MSRV
Performance is unchanged too.
2023-07-09 22:03:24 +07:00
Wilfred Hughes 5f2d970ad2 Choose the last hashbrown version that supports our MSRV 2023-07-09 19:54:09 +07:00
Wilfred Hughes f2456a12b2 Use hashbrown for the alloc_if_new data
This was intended to allow usage of .entry_ref(), but it's already a
performance win without using that API! It's around a 9% reduction in
instructions in slow_before.rs, and 2% reduction in typing_before.ml.
2023-07-09 11:11:03 +07:00
Wilfred Hughes 0c65731026 Revert "Update to tree-sitter 0.20.10"
0.20.10 requires rustc 1.65, which exceeds difftastistic's MSRV.
2023-05-21 23:33:02 +07:00
Wilfred Hughes 9ae6662e87 Update to tree-sitter 0.20.10
All the tests still pass, and no performance difference on the
benchmark files.
2023-05-20 20:17:44 +07:00
Wilfred Hughes f1acd3aab4 Roll version 2023-05-16 21:13:51 +07:00
Wilfred Hughes 4d85b5c15e Prefer pattern matching and EnumIter for Language rather than lists 2023-05-13 23:46:18 +07:00
Wilfred Hughes 22fadee91b Add glob as a dependency 2023-05-13 22:59:18 +07:00
Wilfred Hughes 432e0f65d7 Update owo-colors 2023-04-30 11:32:40 +07:00
Wilfred Hughes 857066e5d8 Another upgrade note 2023-04-30 11:31:37 +07:00
Wilfred Hughes 8b0a057861 Update to latest compatible regex version 2023-04-30 11:25:06 +07:00
Wilfred Hughes 5ed6f6e799 Use a consistent version for rayon between build and normal dependencies 2023-04-30 11:21:11 +07:00
Wilfred Hughes 31e6d443dc Update pretty_assertions 2023-04-30 09:57:03 +07:00
Wilfred Hughes 15e9829c8a Update walkdir dependency 2023-04-30 09:55:24 +07:00
Wilfred Hughes 2934c08d07 Revert "Update bumpalo version", to maintain rustc 1.57 support
This reverts commit 20e9ecaf72.
2023-04-25 08:15:48 +07:00
Wilfred Hughes 20e9ecaf72 Update bumpalo version 2023-04-21 23:26:46 +07:00
Wilfred Hughes 81ac13cbd3 Roll version following release 2023-03-31 08:37:06 +07:00
Michel Alexandre Salim b4a764f286
Relax version dependencies
For dependencies we're pinning for Rust 1.57 compatibility, specify
the range of versions allowed rather than just pinning to the maximum
version allowed.

This makes it easier for Linux distribution packaging, where a different
version might already be packaged.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2023-03-06 13:29:10 +07:00
Wilfred Hughes ffd2c4a7fb Roll version 2023-03-03 08:44:56 +07:00
Wilfred Hughes 0a060026e3 Roll version 2023-03-02 23:25:11 +07:00
Wilfred Hughes 2ff20e3aa8 Configure dependencies with a local rustc 1.57 2023-02-21 22:34:05 +07:00
Wilfred Hughes b051df09ea Pin assert_cmd to a lower version 2023-02-21 22:01:11 +07:00
Wilfred Hughes b74ffdeee4 Pin predicates too 2023-02-21 21:57:59 +07:00
Wilfred Hughes a3398b8808 Try to loosen assert_cmd for Windows CI 2023-02-21 21:39:16 +07:00
Wilfred Hughes 188fec4b2e Choose a version of assert_cmd that meets difftastic's MSRV 2023-02-21 21:11:45 +07:00
Wilfred Hughes 5f2c9365a9 Add CLI integration tests 2023-02-21 18:14:33 +07:00
Wilfred Hughes d425685284 Next version will be 0.44 2023-02-04 16:42:22 +07:00
Wilfred Hughes 829ab7b50c Next release will be 0.43.1 2023-02-04 14:10:49 +07:00
Wilfred Hughes eb8097f626 Bump version following release 2023-02-02 22:32:00 +07:00
Wilfred Hughes fe68f43e93 Use crossterm for is_tty and terminal width
This is activly maintained, handles stdout being directed, and seems
to be tested more on Windows too (potentially improving #363).
2023-01-17 00:03:08 +07:00
Wilfred Hughes d8fa9f82b2 Update terminal_size 2023-01-15 23:24:51 +07:00
Wilfred Hughes 48c64297c5 Roll version 2023-01-15 20:15:40 +07:00
Wilfred Hughes 08b3ff138f Rename vendor/ directory
Closes #453
2023-01-10 08:35:01 +07:00