diff --git a/Cargo.lock b/Cargo.lock index 1eea52c..bd4d34c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "aho-corasick" -version = "0.7.20" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" dependencies = [ "memchr", ] @@ -185,9 +185,9 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "memchr" -version = "2.5.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "nu-ansi-term" @@ -292,9 +292,21 @@ dependencies = [ [[package]] name = "regex" -version = "1.7.1" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" dependencies = [ "aho-corasick", "memchr", @@ -303,9 +315,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.28" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "ryu" @@ -466,13 +478,23 @@ dependencies = [ "regex", ] +[[package]] +name = "tree-sitter" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "705bf7c0958d0171dd7d3a6542f2f4f21d87ed5f1dc8db52919d3a6bed9a359a" +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 +505,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 +515,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 +524,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 +534,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 +552,7 @@ dependencies = [ "serde_json", "tracing", "tracing-subscriber", - "tree-sitter", + "tree-sitter 0.21.0", "tree-sitter-edit", ] diff --git a/crates/tree-splicer/Cargo.toml b/crates/tree-splicer/Cargo.toml index 2fec88e..07ac23a 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.21" tree-sitter-edit = "0.3" [features]