2018-09-01 15:16:08 +00:00
|
|
|
#[macro_use]
|
|
|
|
extern crate failure;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate serde_derive;
|
|
|
|
extern crate serde;
|
|
|
|
extern crate serde_json;
|
|
|
|
extern crate languageserver_types;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate crossbeam_channel;
|
2018-09-04 17:43:37 +00:00
|
|
|
extern crate rayon;
|
2018-09-01 15:16:08 +00:00
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
|
|
|
extern crate drop_bomb;
|
|
|
|
extern crate url_serde;
|
|
|
|
extern crate walkdir;
|
2018-09-02 08:37:16 +00:00
|
|
|
extern crate im;
|
|
|
|
extern crate relative_path;
|
|
|
|
extern crate cargo_metadata;
|
|
|
|
|
|
|
|
extern crate gen_lsp_server;
|
2018-09-01 15:16:08 +00:00
|
|
|
extern crate libeditor;
|
|
|
|
extern crate libanalysis;
|
|
|
|
extern crate libsyntax2;
|
|
|
|
|
|
|
|
mod caps;
|
2018-09-01 17:21:11 +00:00
|
|
|
pub mod req;
|
2018-09-01 15:16:08 +00:00
|
|
|
mod conv;
|
|
|
|
mod main_loop;
|
|
|
|
mod vfs;
|
|
|
|
mod path_map;
|
|
|
|
mod server_world;
|
2018-09-02 08:37:16 +00:00
|
|
|
mod project_model;
|
2018-09-08 09:36:02 +00:00
|
|
|
pub mod thread_watcher;
|
2018-09-01 15:16:08 +00:00
|
|
|
|
|
|
|
pub type Result<T> = ::std::result::Result<T, ::failure::Error>;
|
|
|
|
pub use caps::server_capabilities;
|
|
|
|
pub use main_loop::main_loop;
|