diff --git a/Cargo.lock b/Cargo.lock index 1eea52c..00ebec0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "aho-corasick" -version = "0.7.20" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] @@ -67,12 +67,9 @@ checksum = "ca87830a3e3fb156dc96cfbd31cb620265dd053be734723f22b760d6cc3c3051" [[package]] name = "cc" -version = "1.0.83" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" -dependencies = [ - "libc", -] +checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" [[package]] name = "cfg-if" @@ -185,9 +182,9 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "memchr" -version = "2.5.0" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] name = "nu-ansi-term" @@ -292,9 +289,21 @@ dependencies = [ [[package]] name = "regex" -version = "1.7.1" +version = "1.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ "aho-corasick", "memchr", @@ -303,9 +312,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.28" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "ryu" @@ -466,13 +475,23 @@ dependencies = [ "regex", ] +[[package]] +name = "tree-sitter" +version = "0.22.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bdb9c9f15eae91dcd00ee0d86a281d16e6263786991b662b34fa9632c21a046b" +dependencies = [ + "cc", + "regex", +] + [[package]] name = "tree-sitter-edit" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed3213ee656e99748eca539913b5c90df3d52618d9a1714e0935013955c8031" dependencies = [ - "tree-sitter", + "tree-sitter 0.20.10", "tree-sitter-traversal", ] @@ -483,7 +502,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38d1463af5be7052171161db7cfe45c7621ed959ae533972ab47a09b1ed70ec0" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -493,7 +512,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0832309b0b2b6d33760ce5c0e818cb47e1d72b468516bfe4134408926fa7594" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -502,7 +521,7 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df8a158225e4a4d8505f071340bba9edd109b23f01b70540dccb7c799868f307" dependencies = [ - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -512,7 +531,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c8bc1d2c24276a48ef097a71b56888ac9db63717e8f8d0b324668a27fd619670" dependencies = [ "cc", - "tree-sitter", + "tree-sitter 0.20.10", ] [[package]] @@ -530,7 +549,7 @@ dependencies = [ "serde_json", "tracing", "tracing-subscriber", - "tree-sitter", + "tree-sitter 0.22.2", "tree-sitter-edit", ] diff --git a/crates/tree-splicer/Cargo.toml b/crates/tree-splicer/Cargo.toml index 2fec88e..b582b65 100644 --- a/crates/tree-splicer/Cargo.toml +++ b/crates/tree-splicer/Cargo.toml @@ -22,7 +22,7 @@ serde = { version = "1", features = ["derive"] } serde_json = "1" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["json"], optional = true } -tree-sitter = "0.20" +tree-sitter = "0.22" tree-sitter-edit = "0.3" [features]