mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +00:00
86e559bf3f
Use Cargo's [workspace.lints.*] to config clippy This change begin to use [`[workspace.lints.*]`](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-lints-table) that is stabilized since [Rust 1.74](https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html). By this change, we make the configure more readable and simplify `xargo lint` more.
20 lines
No EOL
443 B
TOML
20 lines
No EOL
443 B
TOML
[package]
|
|
name = "lsp-server"
|
|
version = "0.7.6"
|
|
description = "Generic LSP server scaffold."
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/lsp-server"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
log = "0.4.17"
|
|
serde_json = "1.0.108"
|
|
serde = { version = "1.0.192", features = ["derive"] }
|
|
crossbeam-channel = "0.5.8"
|
|
|
|
[dev-dependencies]
|
|
lsp-types = "=0.95"
|
|
ctrlc = "3.4.1"
|
|
|
|
[lints]
|
|
workspace = true |