surrealql-language-server 0.6.2

Language Server Protocol implementation for SurrealQL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! `surreal-lsp`: the language server, which the `surreal` launcher runs as
//! `surreal lsp`. The command line lives in
//! [`surrealql_language_server::native::cli`], shared with the
//! `surrealql-language-server` executable.
//!
//! The browser build produces a `cdylib` instead and never enters this
//! file; see [`surrealql_language_server::wasm`] for the `wasm-bindgen`
//! surface.

#[cfg(not(target_arch = "wasm32"))]
#[tokio::main]
async fn main() -> std::process::ExitCode {
    surrealql_language_server::native::cli::run("surreal-lsp").await
}

#[cfg(target_arch = "wasm32")]
fn main() {}