[dependencies.crossbeam-channel]
version = "0.5.8"
[dependencies.log]
version = "0.4.17"
[dependencies.serde]
features = ["derive"]
version = "1.0.192"
[dependencies.serde_json]
version = "1.0.108"
[dev-dependencies.ctrlc]
version = "3.4.1"
[dev-dependencies.lsp-types]
version = "=0.95"
[[example]]
name = "goto_def"
path = "examples/goto_def.rs"
[lib]
name = "lsp_server"
path = "src/lib.rs"
[lints.clippy]
assigning_clones = "allow"
dbg_macro = "warn"
enum_variant_names = "allow"
len_without_is_empty = "allow"
new_ret_no_self = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
result_unit_err = "allow"
single_match = "allow"
str_to_string = "warn"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
useless_asref = "allow"
wrong_self_convention = "allow"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.restriction]
level = "allow"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_lifetimes = "warn"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Generic LSP server scaffold."
edition = "2021"
license = "MIT OR Apache-2.0"
name = "lsp-server"
readme = false
repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/lsp-server"
version = "0.7.7"