RustLSP
A Language Server Protocol implementation in Rust (by RustDT)
lsp-server
By rust-analyzer
RustLSP | lsp-server | |
---|---|---|
1 | 3 | |
59 | 143 | |
- | - | |
0.0 | 4.8 | |
over 5 years ago | almost 2 years ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RustLSP
Posts with mentions or reviews of RustLSP.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-24.
-
Language Server for pest.rs grammar.
The RustLSP also seems a lot of work. Is there any project that integrates these in a simpler way? For instance, something similar to Xtext?
lsp-server
Posts with mentions or reviews of lsp-server.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-24.
-
Adding LSP (or just Rust Analyzer) and syntax highlighting to my custom text editor
You can look into RA's lsp_server example, allthough it is designed to show how to create a LSP server it showcases well how to use the lsp_types crate (which contains the definitions of LSP).
-
Language Server for pest.rs grammar.
I believe the closest to a plug-and-play solution is using a server scaffold/stub. For example rust-analyzer uses this, or there is tower-lsp.
-
RPC over stdin/stdout
Consider “just write it yourself” option. Implementation in rust-analyzer takes about a hundred lines https://github.com/rust-analyzer/lsp-server/blob/master/src/msg.rs#L140
What are some alternatives?
When comparing RustLSP and lsp-server you can also consider the following projects:
taplo - A TOML toolkit written in Rust
pest - The Elegant Parser
jsonrpc - Rust JSON-RPC implementation