~ahelwer/tree-sitter-tlaplus

e39488a8de4b4da867472f96ae8f3319d8a9fa44 — Andrew Helwer 3 months ago b2ffee6
Fixed rust bindings

Signed-off-by: Andrew Helwer <2n8rn1w1f@mozmail.com>
3 files changed, 2 insertions(+), 5 deletions(-)

M Cargo.toml
M bindings/rust/build.rs
M package.json
M Cargo.toml => Cargo.toml +1 -1
@@ 1,7 1,7 @@
[package]
name = "tree-sitter-tlaplus"
description = "A tree-sitter grammar for TLA⁺ and PlusCal"
version = "1.2.0"
version = "1.2.1"
authors = ["Andrew Helwer", "Vasiliy Morkovkin"]
license = "MIT"
readme = "README.md"

M bindings/rust/build.rs => bindings/rust/build.rs +0 -3
@@ 8,12 8,9 @@ fn main() {
    c_config.file(&parser_path);
    println!("cargo:rerun-if-changed={}", parser_path.to_str().unwrap());

    // NOTE: if your language uses an external scanner, uncomment this block:
    /*
    let scanner_path = src_dir.join("scanner.c");
    c_config.file(&scanner_path);
    println!("cargo:rerun-if-changed={}", scanner_path.to_str().unwrap());
    */

    c_config.compile("tree-sitter-tlaplus");
}

M package.json => package.json +1 -1
@@ 1,6 1,6 @@
{
  "name": "@tlaplus/tree-sitter-tlaplus",
  "version": "1.2.0",
  "version": "1.2.1",
  "description": "A tree-sitter grammar for TLA⁺ and PlusCal",
  "main": "bindings/node",
  "types": "bindings/node",