Skip to content

Commit

Permalink
0.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Jul 27, 2023
1 parent 994441f commit f88bf81
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tree-sitter-cpp"
description = "Cpp grammar for the tree-sitter parsing library"
version = "0.20.1"
version = "0.20.2"
authors = ["Max Brunsfeld <maxbrunsfeld@gmail.com>"]
license = "MIT"
readme = "bindings/rust/README.md"
Expand All @@ -17,7 +17,7 @@ include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = "0.20"
tree-sitter = "0.20.10"

[build-dependencies]
cc = "1.0"
7 changes: 3 additions & 4 deletions bindings/rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ way.)
```toml
[dependencies]
tree-sitter = "0.20.10"
tree-sitter-cpp = "0.20.1"
tree-sitter-cpp = "0.20.2"
```

Typically, you will use the [language][language func] function to add this
Typically, you will use the [language][language] function to add this
grammar to a tree-sitter [Parser][], and then use the parser to parse some code:

```rust
Expand All @@ -29,8 +29,7 @@ let parsed = parser.parse(code, None);
If you have any questions, please reach out to us in the [tree-sitter
discussions] page.

[Language]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Language.html
[language func]: https://docs.rs/tree-sitter-cpp/*/tree_sitter_cpp/fn.language.html
[language]: https://docs.rs/tree-sitter-cpp/*/tree_sitter_cpp/fn.language.html
[Parser]: https://docs.rs/tree-sitter/*/tree_sitter/struct.Parser.html
[tree-sitter]: https://tree-sitter.github.io/
[tree-sitter crate]: https://crates.io/crates/tree-sitter
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tree-sitter-cpp",
"version": "0.20.1",
"version": "0.20.2",
"description": "C++ grammar for tree-sitter",
"main": "bindings/node",
"keywords": [
Expand Down Expand Up @@ -34,7 +34,9 @@
"file-types": [
"cc",
"cpp",
"cxx",
"hpp",
"hxx",
"h"
],
"highlights": [
Expand Down

0 comments on commit f88bf81

Please sign in to comment.