From b88b4056203cdd3075cd341595411195671a163b Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 25 May 2024 07:13:37 -0700 Subject: [PATCH] Notes on next tree-sitter version --- Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 861e36b9b..384296652 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,8 +44,11 @@ typed-arena = "2.0.2" rustc-hash = "1.1.0" strsim = "0.10.0" lazy_static = "1.4.0" -# tree-sitter 0.20.10 requires rust 1.65, although it could be lower. -# https://github.com/tree-sitter/tree-sitter/issues/2669 +# tree-sitter 0.22.5 uses std::os::fd::AsRawFd, which was added in Rust 1.66. +# https://github.com/tree-sitter/tree-sitter/commit/a7a47d561d4e64eaf226f93c4d68076afa67fdda +# +# tree-sitter 0.22.0 has some API changes which we need to update +# difftastic for. tree-sitter = "0.20.10" libc = "0.2.108" log = "0.4.14"