Skip to content

Commit 1ffdbbd

Browse files
committed
chore: update manifests
1 parent d9ce48e commit 1ffdbbd

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed

.gitattributes

+8
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
/src/** linguist-vendored
22
/examples/* linguist-vendored
3+
4+
src/grammar.json linguist-generated
5+
src/node-types.json linguist-generated
6+
src/parser.c linguist-generated
7+
8+
src/grammar.json -diff
9+
src/node-types.json -diff
10+
src/parser.c -diff

.gitignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ node_modules
33
build
44
*.log
55
package-lock.json
6-
examples
6+
/examples
77
!examples/ast.rs
88
/target/
9-
.build/
10-
/.idea/

.npmignore

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
corpus
2-
build
3-
script
4-
examples
5-
target
1+
/test
2+
/examples
3+
/build
4+
/script
5+
/target
6+
bindings/rust

Cargo.toml

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
11
[package]
22
name = "tree-sitter-rust"
3-
description = "Rust grammar for the tree-sitter parsing library"
3+
description = "Rust grammar for tree-sitter"
44
version = "0.20.3"
55
authors = ["Max Brunsfeld <[email protected]>"]
66
license = "MIT"
77
readme = "bindings/rust/README.md"
88
keywords = ["incremental", "parsing", "rust"]
99
categories = ["parsing", "text-editors"]
1010
repository = "https://github.com/tree-sitter/tree-sitter-rust"
11-
edition = "2018"
11+
edition = "2021"
12+
autoexamples = false
1213

1314
build = "bindings/rust/build.rs"
14-
include = [
15-
"bindings/rust/*",
16-
"grammar.js",
17-
"queries/*",
18-
"src/*",
19-
]
20-
autoexamples = false
15+
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
2116

2217
[lib]
2318
path = "bindings/rust/lib.rs"
2419

2520
[dependencies]
26-
tree-sitter = ">= 0.20"
21+
tree-sitter = "~0.20.10"
2722

2823
[build-dependencies]
29-
cc = "1.0"
24+
cc = "~1.0.82"

0 commit comments

Comments
 (0)