# SPDX-FileCopyrightText: 2024 Christoph Sax <c_sax@mailbox.org>
#
# SPDX-License-Identifier: EUPL-1.2

[package]
name = "t32-language-server"
description = "Language server for Lauterbach TRACE32® script language"
version = "0.14.0"
authors = ["Christoph Sax <c_sax@mailbox.org>"]
keywords = [
  "language-server",
  "lsp",
  "trace32",
  "lauterbach",
  "practice"
]
categories = [
  "command-line-utilities",
  "development-tools",
  "parsing",
  "text-editors"
]
license = "EUPL-1.2"
repository = "https://codeberg.org/xasc/t32-language-server"
edition = "2024"
rust-version = "1.95"
include = [
  "/src/",
  "/tests/",
  "/LICENSES/",
  "/CHANGELOG.md"
]

[[bin]]
name = "t32ls"
path = "src/main.rs"

[build-dependencies]
cc=">=1.2.60"

[dependencies]
serde = { version = ">=1.0.215", features = ["derive"] }
serde_json = ">=1.0"
serde_path_to_error = "0.1.20"
serde_repr = ">=0.1.19"
tree-sitter = ">=0.25.0"
tree-sitter-t32 = ">=7.0.0"
url = ">=2.5.4"

[target.'cfg(unix)'.dependencies]
libc = ">=0.2.169"

[target.'cfg(windows)'.dependencies]
windows-sys = { version = ">=0.61.0", default-features = false, features = ["Win32_System_Threading"] }
