ts-pack-cli 1.10.2

CLI tool for tree-sitter language pack - manage parser downloads and run code intelligence
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ts-pack-cli"
version = "1.10.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tool for tree-sitter language pack - manage parser downloads and run code intelligence"
readme = "README.md"
license = "MIT"
repository = "https://github.com/kreuzberg-dev/tree-sitter-language-pack"
resolver = "2"

[features]
mcp = [
    "dep:rmcp",
    "dep:tokio",
    "dep:schemars",
    "dep:serde",
    "dep:tracing",
    "dep:tracing-subscriber",
    "dep:axum",
]

[[bin]]
name = "ts-pack"
path = "src/main.rs"

[[test]]
name = "mcp_test"
path = "tests/mcp_test.rs"

[dependencies.axum]
version = "0.8"
features = ["macros"]
optional = true

[dependencies.clap]
version = "4"
features = [
    "derive",
    "derive",
]

[dependencies.clap_complete]
version = "4"

[dependencies.rmcp]
version = "1.7"
features = [
    "server",
    "macros",
    "transport-io",
    "transport-streamable-http-server",
    "server-side-http",
]
optional = true

[dependencies.schemars]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "io-std",
]
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true

[dependencies.tree-sitter-language-pack]
version = "1.10.2"
features = [
    "download",
    "config",
    "serde",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "io-std",
    "rt-multi-thread",
    "macros",
    "io-std",
    "time",
    "process",
]

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
duplicated_attributes = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(alef)"]