1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#[cfg(all(feature = "wasm", feature = "tokio"))]
compile_error!("feature \"tokio\" and feature \"wasm\" cannot be enabled at the same time");

#[cfg(not(any(feature = "wasm", feature = "tokio")))]
compile_error!("either feature \"tokio\" or feature \"wasm\" must be enabled");

pub use apollo_federation_types::config::SchemaSource;

#[doc(inline)]
pub use server::{ApolloLanguageServer, Config};

mod completion;
mod custom_requests;
mod diagnostics;
mod federation;
mod goto_definition;
mod graph;
mod graphql;
mod hover;
mod semantic_tokens;
mod server;
mod specs;
mod telemetry;
mod utils;

#[cfg(test)]
mod testing;

extern crate lsp_types as lsp;