Skip to content

Commit aeacac6

Browse files
committed
fix: rust ergonomics (close #21)
1 parent 84d9b3c commit aeacac6

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "tree-sitter-org"
33
description = "org grammar for the tree-sitter parsing library"
4-
version = "1.0.0"
4+
version = "1.0.1"
55
keywords = ["incremental", "parsing", "org"]
66
categories = ["parsing", "text-editors"]
77
repository = "https://github.com/milisims/tree-sitter-org"
8-
edition = "2022"
8+
edition = "2021"
99
license = "MIT"
1010

1111
build = "bindings/rust/build.rs"
@@ -20,7 +20,7 @@ include = [
2020
path = "bindings/rust/lib.rs"
2121

2222
[dependencies]
23-
tree-sitter = "0.19"
23+
tree-sitter = ">= 0.19, < 0.21"
2424

2525
[build-dependencies]
2626
cc = "1.0"

bindings/rust/build.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ fn main() {
2525
// If your language uses an external scanner written in C++,
2626
// then include this block of code:
2727

28-
/*
2928
let mut cpp_config = cc::Build::new();
3029
cpp_config.cpp(true);
3130
cpp_config.include(&src_dir);
@@ -36,5 +35,4 @@ fn main() {
3635
cpp_config.file(&scanner_path);
3736
cpp_config.compile("scanner");
3837
println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap());
39-
*/
4038
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tree-sitter-org",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Org grammar for tree-sitter",
55
"main": "bindings/node",
66
"keywords": [

0 commit comments

Comments
 (0)