#lsp #language-server #visual-studio-code #server #language

languageserver-types

Types for interaction with a language server, using VSCode's Language Server Protocol

50 breaking releases

Uses old Rust 2015

0.54.0 Jan 11, 2019
0.53.1 Dec 23, 2018
0.51.1 Nov 7, 2018
0.48.0 Jul 25, 2018
0.5.0 Nov 8, 2016

#217 in Text editors

Download history 33/week @ 2023-12-14 40/week @ 2023-12-21 12/week @ 2023-12-28 26/week @ 2024-01-04 43/week @ 2024-01-11 19/week @ 2024-01-18 14/week @ 2024-01-25 17/week @ 2024-02-01 41/week @ 2024-02-08 36/week @ 2024-02-15 77/week @ 2024-02-22 459/week @ 2024-02-29 439/week @ 2024-03-07 279/week @ 2024-03-14 1149/week @ 2024-03-21 386/week @ 2024-03-28

2,320 downloads per month
Used in 21 crates (11 directly)

MIT license

145KB
2.5K SLoC

This crate has been renamed to lsp-types


lib.rs:

Language Server Protocol types for Rust.

Based on: https://microsoft.github.io/language-server-protocol/specification

This library uses the URL crate for parsing URIs. Note that there is some confusion on the meaning of URLs vs URIs: http://stackoverflow.com/a/28865728/393898. According to that information, on the classical sense of "URLs", "URLs" are a subset of URIs, But on the modern/new meaning of URLs, they are the same as URIs. The important take-away aspect is that the URL crate should be able to parse any URI, such as urn:isbn:0451450523.

Dependencies

~2.5–3.5MB
~102K SLoC