2018-09-01 10:16:08 -05:00
|
|
|
#[macro_use]
|
|
|
|
extern crate failure;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate serde_derive;
|
2018-10-15 16:44:23 -05:00
|
|
|
extern crate languageserver_types;
|
2018-09-01 10:16:08 -05:00
|
|
|
extern crate serde;
|
|
|
|
extern crate serde_json;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate crossbeam_channel;
|
2018-09-04 12:43:37 -05:00
|
|
|
extern crate rayon;
|
2018-09-01 10:16:08 -05:00
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
2018-10-15 16:44:23 -05:00
|
|
|
extern crate cargo_metadata;
|
2018-09-01 10:16:08 -05:00
|
|
|
extern crate drop_bomb;
|
2018-09-02 03:37:16 -05:00
|
|
|
extern crate im;
|
|
|
|
extern crate relative_path;
|
2018-10-11 13:07:44 -05:00
|
|
|
extern crate rustc_hash;
|
2018-10-15 16:44:23 -05:00
|
|
|
extern crate url_serde;
|
|
|
|
extern crate walkdir;
|
2018-09-02 03:37:16 -05:00
|
|
|
|
|
|
|
extern crate gen_lsp_server;
|
2018-09-16 04:54:24 -05:00
|
|
|
extern crate ra_analysis;
|
2018-10-15 16:44:23 -05:00
|
|
|
extern crate ra_editor;
|
2018-09-16 04:54:24 -05:00
|
|
|
extern crate ra_syntax;
|
2018-09-01 10:16:08 -05:00
|
|
|
|
|
|
|
mod caps;
|
|
|
|
mod conv;
|
|
|
|
mod main_loop;
|
|
|
|
mod path_map;
|
2018-09-02 03:37:16 -05:00
|
|
|
mod project_model;
|
2018-10-15 16:44:23 -05:00
|
|
|
pub mod req;
|
|
|
|
mod server_world;
|
2018-09-08 04:36:02 -05:00
|
|
|
pub mod thread_watcher;
|
2018-10-15 16:44:23 -05:00
|
|
|
mod vfs;
|
2018-09-01 10:16:08 -05:00
|
|
|
|
|
|
|
pub type Result<T> = ::std::result::Result<T, ::failure::Error>;
|
2018-10-15 16:44:23 -05:00
|
|
|
pub use crate::{caps::server_capabilities, main_loop::main_loop};
|