Python: Use tsp instead of tree-sitter-python

This commit is contained in:
Taus
2024-03-19 15:34:48 +00:00
parent 38169a981d
commit d12ac1e7ce
7 changed files with 122 additions and 122 deletions

View File

@@ -7,7 +7,7 @@ package(default_visibility = ["//visibility:public"])
# This will run the build script from the root of the workspace, and
# collect the outputs.
cargo_build_script(
name = "tsg-build-script",
name = "tsg-build",
srcs = ["bindings/rust/build.rs"],
data = glob([
"src/**",
@@ -18,7 +18,7 @@ cargo_build_script(
)
rust_library(
name = "tree-sitter-python",
name = "tsp",
srcs = [
"bindings/rust/lib.rs",
],
@@ -32,7 +32,7 @@ rust_library(
proc_macro_deps = all_crate_deps(
proc_macro = True,
),
deps = [":tsg-build-script"] + all_crate_deps(
deps = [":tsg-build"] + all_crate_deps(
normal = True,
),
)

View File

@@ -1,5 +1,5 @@
[package]
name = "tree-sitter-python"
name = "tsp"
description = "Python grammar for the tree-sitter parsing library"
version = "0.19.0"
authors = [