#language-server #lsp #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

#295 in Text editors

Download history 314/week @ 2024-07-22 335/week @ 2024-07-29 243/week @ 2024-08-05 147/week @ 2024-08-12 132/week @ 2024-08-19 217/week @ 2024-08-26 300/week @ 2024-09-02 317/week @ 2024-09-09 499/week @ 2024-09-16 448/week @ 2024-09-23 181/week @ 2024-09-30 315/week @ 2024-10-07 546/week @ 2024-10-14 226/week @ 2024-10-21 458/week @ 2024-10-28 227/week @ 2024-11-04

1,468 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

~4.5MB
~115K SLoC