fix: rust ergonomics (close #21)

This commit is contained in:
Emilia Simmons 2022-05-02 16:53:01 -04:00
parent 84d9b3c26c
commit aeacac6194
3 changed files with 4 additions and 6 deletions

View file

@ -1,11 +1,11 @@
[package]
name = "tree-sitter-org"
description = "org grammar for the tree-sitter parsing library"
version = "1.0.0"
version = "1.0.1"
keywords = ["incremental", "parsing", "org"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/milisims/tree-sitter-org"
edition = "2022"
edition = "2021"
license = "MIT"
build = "bindings/rust/build.rs"
@ -20,7 +20,7 @@ include = [
path = "bindings/rust/lib.rs"
[dependencies]
tree-sitter = "0.19"
tree-sitter = ">= 0.19, < 0.21"
[build-dependencies]
cc = "1.0"

View file

@ -25,7 +25,6 @@ fn main() {
// If your language uses an external scanner written in C++,
// then include this block of code:
/*
let mut cpp_config = cc::Build::new();
cpp_config.cpp(true);
cpp_config.include(&src_dir);
@ -36,5 +35,4 @@ fn main() {
cpp_config.file(&scanner_path);
cpp_config.compile("scanner");
println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap());
*/
}

View file

@ -1,6 +1,6 @@
{
"name": "tree-sitter-org",
"version": "1.0.0",
"version": "1.0.1",
"description": "Org grammar for tree-sitter",
"main": "bindings/node",
"keywords": [