split lib

This commit is contained in:
Aleksey Kladov 2018-09-01 18:16:08 +03:00
parent 4268fbeaa1
commit e8515fecd7
3 changed files with 42 additions and 31 deletions

34
crates/server/src/lib.rs Normal file
View file

@ -0,0 +1,34 @@
#[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;
extern crate threadpool;
#[macro_use]
extern crate log;
extern crate drop_bomb;
extern crate url_serde;
extern crate walkdir;
extern crate libeditor;
extern crate libanalysis;
extern crate libsyntax2;
extern crate gen_lsp_server;
extern crate im;
extern crate relative_path;
mod caps;
mod req;
mod conv;
mod main_loop;
mod vfs;
mod path_map;
mod server_world;
pub type Result<T> = ::std::result::Result<T, ::failure::Error>;
pub use caps::server_capabilities;
pub use main_loop::main_loop;