@willbooster/tree-sitter-rust 19.0.0 → 20.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
@@ -25,9 +25,8 @@ may change; such changes are released as new major versions.
25
25
 
26
26
  The npm package ships `tree-sitter-rust.wasm` for
27
27
  [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
28
- browsers, and Cloudflare Workers. The package requires `@willbooster/web-tree-sitter` `20.0.0` or later within major
29
- version 20. Its ABI (`0x5742000c`) rejects upstream Tree-sitter runtimes. Earlier `17.x` and `18.x` WillBooster runtimes
30
- share ABI `0x5742000c` and pass the ABI check, but dereference unused `TSLanguage` tables omitted since `19.1.0`.
28
+ browsers, and Cloudflare Workers. The package requires `@willbooster/web-tree-sitter` `23.0.0` or later within major
29
+ version 23. Its ABI (`0x5742000d`) rejects upstream Tree-sitter runtimes and WillBooster runtimes prior to `22.0.0`.
31
30
 
32
31
  In Node.js and Bun, load the grammar from its path:
33
32
 
@@ -70,13 +69,12 @@ parser.setLanguage(await Language.load(rust));
70
69
  The package also ships the node types in `src/node-types.json`.
71
70
 
72
71
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-rust) and on
73
- [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter) `20.0.0` or later within major version 20,
74
- the runtime this package is tested and fuzzed with. Upstream's `tree-sitter` crate rejects its ABI (`0x5742000c`), and
75
- earlier `17.x` and `18.x` `willbooster-tree-sitter` releases share ABI `0x5742000c` and pass that check, but
76
- dereference unused `TSLanguage` tables omitted since `19.1.0`:
72
+ [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter) `23.0.0` or later within major version 23,
73
+ the runtime this package is tested and fuzzed with. Upstream's `tree-sitter` crate and `willbooster-tree-sitter` releases
74
+ prior to `22.0.0` reject its ABI (`0x5742000d`):
77
75
 
78
76
  ```sh
79
- cargo add willbooster-tree-sitter@20.0.0 --rename tree-sitter
77
+ cargo add willbooster-tree-sitter@23.0.0 --rename tree-sitter
80
78
  cargo add willbooster-tree-sitter-rust --rename tree-sitter-rust
81
79
  ```
82
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-rust",
3
- "version": "19.0.0",
3
+ "version": "20.0.0",
4
4
  "description": "Rust grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "parsing",
@@ -45,22 +45,22 @@
45
45
  "devDependencies": {
46
46
  "@tsconfig/bun": "1.0.11",
47
47
  "@types/bun": "1.4.4",
48
- "@vitest/browser-playwright": "5.0.5",
48
+ "@vitest/browser-playwright": "5.1.0",
49
49
  "@willbooster/oxlint-config": "1.4.9",
50
- "@willbooster/wb": "23.3.0",
51
- "@willbooster/web-tree-sitter": "20.0.0",
50
+ "@willbooster/wb": "23.3.4",
51
+ "@willbooster/web-tree-sitter": "23.0.0",
52
52
  "conventional-changelog-conventionalcommits": "10.4.1",
53
53
  "lefthook": "2.2.2",
54
- "oxlint": "1.90.0",
55
- "oxlint-tsgolint": "7.0.2005",
56
- "playwright": "1.64.1",
54
+ "oxlint": "1.92.0",
55
+ "oxlint-tsgolint": "7.0.2006",
56
+ "playwright": "1.65.0",
57
57
  "semantic-release": "25.0.9",
58
- "vite": "8.3.5",
59
- "vitest": "5.0.5",
58
+ "vite": "8.3.6",
59
+ "vitest": "5.1.0",
60
60
  "wrangler": "4.156.0"
61
61
  },
62
62
  "peerDependencies": {
63
- "@willbooster/web-tree-sitter": "^20.0.0"
63
+ "@willbooster/web-tree-sitter": "^23.0.0"
64
64
  },
65
65
  "peerDependenciesMeta": {
66
66
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -16,7 +16,7 @@
16
16
  }
17
17
  ],
18
18
  "metadata": {
19
- "version": "19.0.0",
19
+ "version": "20.0.0",
20
20
  "license": "MIT",
21
21
  "description": "Rust grammar for tree-sitter",
22
22
  "authors": [