@willbooster/tree-sitter-rust 10.0.1 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![Test](https://github.com/WillBooster/tree-sitter-rust/actions/workflows/test.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-rust/actions/workflows/test.yml)
6
6
  [![Test rust](https://github.com/WillBooster/tree-sitter-rust/actions/workflows/test-rust.yml/badge.svg)](https://github.com/WillBooster/tree-sitter-rust/actions/workflows/test-rust.yml)
7
7
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
8
- [![wbfy](https://img.shields.io/badge/wbfy-20.41.8-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
8
+ [![wbfy](https://img.shields.io/badge/wbfy-20.43.2-1e90ff.svg)](https://github.com/WillBooster/shared/tree/main/packages/wbfy)
9
9
  [![crates.io](https://img.shields.io/crates/v/willbooster-tree-sitter-rust.svg)](https://crates.io/crates/willbooster-tree-sitter-rust)
10
10
 
11
11
  Rust grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter), forked from
@@ -18,7 +18,7 @@ This fork fixes parsing bugs and raises conformance with [The Rust Reference](ht
18
18
 
19
19
  The npm package ships `tree-sitter-rust.wasm` for
20
20
  [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
21
- browsers, and Cloudflare Workers. The parser requires version 7.0.5 or later within major version 7 of that runtime.
21
+ browsers, and Cloudflare Workers. The parser requires version 13.0.0 or later within major version 13 of that runtime.
22
22
  It carries the WillBooster ABI number, which upstream's `web-tree-sitter` rejects.
23
23
 
24
24
  In Node.js and Bun, load the grammar from its path:
@@ -68,11 +68,11 @@ documentation or line documentation for fenced examples with these queries.
68
68
 
69
69
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-rust) and on
70
70
  [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
71
- fuzzed with. The parser requires version 7.0.5 or later within major version 7 of that runtime; upstream's
71
+ fuzzed with. The parser requires version 13.0.0 or later within major version 13 of that runtime; upstream's
72
72
  `tree-sitter` crate rejects it:
73
73
 
74
74
  ```sh
75
- cargo add willbooster-tree-sitter@7.0.5 --rename tree-sitter
75
+ cargo add willbooster-tree-sitter@13.0.0 --rename tree-sitter
76
76
  cargo add willbooster-tree-sitter-rust --rename tree-sitter-rust
77
77
  ```
78
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-rust",
3
- "version": "10.0.1",
3
+ "version": "12.0.0",
4
4
  "description": "Rust grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -42,16 +42,16 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@tsconfig/bun": "1.0.11",
45
- "@types/bun": "1.4.2",
45
+ "@types/bun": "1.4.3",
46
46
  "@vitest/browser-playwright": "5.0.3",
47
47
  "@willbooster/oxfmt-config": "1.2.2",
48
48
  "@willbooster/oxlint-config": "1.4.8",
49
- "@willbooster/wb": "22.26.1",
50
- "@willbooster/web-tree-sitter": "7.0.5",
49
+ "@willbooster/wb": "22.26.2",
50
+ "@willbooster/web-tree-sitter": "13.0.0",
51
51
  "conventional-changelog-conventionalcommits": "10.4.1",
52
- "lefthook": "2.2.1",
53
- "oxfmt": "0.72.0",
54
- "oxlint": "1.87.0",
52
+ "lefthook": "2.2.2",
53
+ "oxfmt": "0.73.0",
54
+ "oxlint": "1.88.0",
55
55
  "oxlint-tsgolint": "7.0.2004",
56
56
  "playwright": "1.64.0",
57
57
  "semantic-release": "25.0.9",
@@ -61,7 +61,7 @@
61
61
  "wrangler": "4.149.0"
62
62
  },
63
63
  "peerDependencies": {
64
- "@willbooster/web-tree-sitter": "^7.0.5"
64
+ "@willbooster/web-tree-sitter": "^13.0.0"
65
65
  },
66
66
  "peerDependenciesMeta": {
67
67
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -25,7 +25,7 @@
25
25
  }
26
26
  ],
27
27
  "metadata": {
28
- "version": "10.0.1",
28
+ "version": "12.0.0",
29
29
  "license": "MIT",
30
30
  "description": "Rust grammar for tree-sitter",
31
31
  "authors": [