# 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"
rust-version = "1.91"
name = "lsp-cli"
version = "0.1.3"
build = false
exclude = ["data/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line tool for talking to Language Server Protocol (LSP) servers from the terminal."
readme = "README.md"
keywords = [
    "lsp",
    "cli",
    "language-server",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/segoon/lsp-cli"

[[bin]]
name = "lsp-cli"
path = "src/main.rs"

[dependencies.clap]
version = "4.5.38"
features = [
    "derive",
    "string",
]

[dependencies.clap_complete]
version = "4.6.3"

[dependencies.flate2]
version = "1.1.5"

[dependencies.humantime]
version = "2.3.0"

[dependencies.lsp-types]
version = "0.97.0"

[dependencies.regex]
version = "1.11.1"

[dependencies.reqwest]
version = "0.12.24"
features = [
    "blocking",
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.145"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sha2]
version = "0.11.0"

[dependencies.shlex]
version = "1.3.0"

[dependencies.tar]
version = "0.4.44"

[dependencies.tempfile]
version = "3.23.0"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.url]
version = "2.5.7"

[dependencies.zip]
version = "8.6.0"
features = ["deflate"]
default-features = false

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
cast_sign_loss = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
expect_used = "warn"
expl_impl_clone_on_copy = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
get_unwrap = "warn"
if_let_mutex = "warn"
indexing_slicing = "warn"
infallible_try_from = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
large_futures = "warn"
let_underscore_future = "warn"
let_underscore_must_use = "warn"
lossy_float_literal = "warn"
map_err_ignore = "warn"
mem_forget = "warn"
multiple_unsafe_ops_per_block = "warn"
panic = "warn"
panic_in_result_fn = "warn"
rc_mutex = "warn"
string_slice = "warn"
todo = "warn"
unchecked_time_subtraction = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unreachable = "warn"
unused_result_ok = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
