From 6c354f9af1d6a79f80772ffec8c719469fd19d69 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 26 May 2026 17:58:28 +0200 Subject: build(tree-sitter-yts): Reduce bindings and update to latest tree-sitter version --- tree-sitter-yts/Cargo.toml | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) (limited to 'tree-sitter-yts/Cargo.toml') diff --git a/tree-sitter-yts/Cargo.toml b/tree-sitter-yts/Cargo.toml index 1872f18..a6c259c 100644 --- a/tree-sitter-yts/Cargo.toml +++ b/tree-sitter-yts/Cargo.toml @@ -1,31 +1,34 @@ -# yt - A fully featured command line YouTube client -# -# Copyright (C) 2024 Benedikt Peetz -# SPDX-License-Identifier: GPL-3.0-or-later -# -# This file is part of Yt. -# -# You should have received a copy of the License along with this program. -# If not, see . - [package] name = "tree-sitter-yts" -description = "yts grammar for the tree-sitter parsing library" -version = "0.0.1" -keywords = ["incremental", "parsing", "yts"] -categories = ["parsing", "text-editors"] -repository = "https://github.com/tree-sitter/tree-sitter-yts" -edition = "2018" -license = "MIT" +description = "Parser for yt's selection language" +version = "0.1.0" +authors = ["Benedikt Peetz "] +license = "GPL-3-or-later" +readme = "README.md" +keywords = ["incremental", "parsing", "tree-sitter", "yts"] +categories = ["parser-implementations", "parsing", "text-editors"] +repository = "https://git.foss-syndicate.org/bpeetz/clients/yt" +edition = "2021" +autoexamples = false build = "bindings/rust/build.rs" -include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"] +include = [ + "bindings/rust/*", + "grammar.js", + "queries/*", + "src/*", + "tree-sitter.json", + "/LICENSE", +] [lib] path = "bindings/rust/lib.rs" [dependencies] -tree-sitter = "~0.20.10" +tree-sitter-language = "0.1" [build-dependencies] -cc = "1.0" +cc = "1.2" + +[dev-dependencies] +tree-sitter = "0.26.8" -- cgit v1.3.1