diff --git a/Cargo.lock b/Cargo.lock index da34af4b96..99ddf0f77c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -982,9 +982,9 @@ dependencies = [ [[package]] name = "tree-sitter" -version = "0.21.0" +version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "705bf7c0958d0171dd7d3a6542f2f4f21d87ed5f1dc8db52919d3a6bed9a359a" +checksum = "df7cc499ceadd4dcdf7ec6d4cbc34ece92c3fa07821e287aedecd4416c516dca" dependencies = [ "cc", "regex", diff --git a/Cargo.toml b/Cargo.toml index e24f236da1..5f84d5a3a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,12 +41,7 @@ typed-arena = "2.0.2" rustc-hash = "2.0.0" strsim = "0.10.0" lazy_static = "1.4.0" -# 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.21.0" +tree-sitter = "0.22.0" libc = "0.2.108" log = "0.4.14" pretty_env_logger = "0.5.0"