rust/crates/ra_lsp_server/src/lib.rs

38 lines
789 B
Rust
Raw Normal View History

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