lsp-cli 0.1.6

Command-line tool for talking to Language Server Protocol (LSP) servers from the terminal.
[package]
name = "lsp-cli"
version = "0.1.6"
edition = "2024"
rust-version = "1.91"
description = "Command-line tool for talking to Language Server Protocol (LSP) servers from the terminal."
license = "Apache-2.0"
repository = "https://github.com/segoon/lsp-cli"
readme = "README.md"
keywords = ["lsp", "cli", "language-server"]
categories = ["command-line-utilities", "development-tools"]
exclude = ["data/**", "playground/rust/target/**", "playground/c/.cache/**", "playground/cpp/.cache"]

[features]
e2e-workflow-planner = []

[[bin]]
name = "e2e-workflow-plan"
path = "src/bin/e2e_workflow_plan.rs"
required-features = ["e2e-workflow-planner"]
test = false

[dependencies]
clap = { version = "4.5.38", features = ["derive", "string"] }
clap_complete = "4.6.5"
command-group = "5.0.1"
flate2 = "1.1.5"
humantime = "2.3.0"
lsp-types = "0.97.0"
lzma-rs = "0.3.0"
regex = "1.11.1"
reqwest = { version = "0.12.24", default-features = false, features = ["blocking", "json", "rustls-tls"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
serde_yaml = "0.9.34"
sha2 = "0.11.0"
shlex = "2.0.1"
tar = "0.4.46"
tempfile = "3.23.0"
thiserror = "2.0.17"
url = "2.5.7"
zip = { version = "8.6.0", default-features = false, features = ["deflate"] }

[dev-dependencies]
fs_extra = "1.3.0"
wait-timeout = "0.2.1"

[lints]
workspace = true

# Workspace Cargo.toml

[workspace.lints.clippy]
# Don't Panic - prevent panics from unwraps and unsafe slicing or indexing
string_slice = "warn"
indexing_slicing = "warn"
unwrap_used = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
get_unwrap = "warn"
unwrap_in_result = "warn"
unchecked_time_subtraction = "warn"
panic_in_result_fn = "warn"
# Optional - see post for caveats
expect_used = "warn"
# arithmetic_side_effects = "warn"

# Don't Fail Silently - prevent dropped futures and swallowed errors
let_underscore_future = "warn"
let_underscore_must_use = "warn"
unused_result_ok = "warn"
map_err_ignore = "warn"
assertions_on_result_states = "warn"

# Don't Do Bad Async Stuff - prevent deadlocks and concurrency bugs
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
if_let_mutex = "warn"  # only relevant on editions before 2024
large_futures = "warn"

# Don't Do Unsafe Things with Memory
mem_forget = "warn"
undocumented_unsafe_blocks = "warn"
multiple_unsafe_ops_per_block = "warn"
unnecessary_safety_doc = "warn"
unnecessary_safety_comment = "warn"

# Don't Do Potentially Incorrect Things with Numbers
float_cmp = "warn"
float_cmp_const = "warn"
lossy_float_literal = "warn"
cast_sign_loss = "warn"
invalid_upcast_comparisons = "warn"
# Optional - these effectively force you to document numeric invariants
# cast_possible_wrap = "warn"
# cast_precision_loss = "warn"
# cast_possible_truncation = "warn"

# Don't Do Bad Things That are Easy to Avoid
rc_mutex = "warn"
debug_assert_with_mut_call = "warn"
iter_not_returning_iterator = "warn"
expl_impl_clone_on_copy = "warn"
infallible_try_from = "warn"
dbg_macro = "warn"

# Don't `allow` Your Way Around These Lints - every suppression must be
# a deliberate #[expect(..., reason = "…")] rather than a silent #[allow]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"