diff options
Diffstat (limited to 'crates/ra_lsp_server/src/lib.rs')
-rw-r--r-- | crates/ra_lsp_server/src/lib.rs | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/crates/ra_lsp_server/src/lib.rs b/crates/ra_lsp_server/src/lib.rs index 7224b1476..f1b17f282 100644 --- a/crates/ra_lsp_server/src/lib.rs +++ b/crates/ra_lsp_server/src/lib.rs | |||
@@ -2,39 +2,36 @@ | |||
2 | extern crate failure; | 2 | extern crate failure; |
3 | #[macro_use] | 3 | #[macro_use] |
4 | extern crate serde_derive; | 4 | extern crate serde_derive; |
5 | extern crate languageserver_types; | ||
5 | extern crate serde; | 6 | extern crate serde; |
6 | extern crate serde_json; | 7 | extern crate serde_json; |
7 | extern crate languageserver_types; | ||
8 | #[macro_use] | 8 | #[macro_use] |
9 | extern crate crossbeam_channel; | 9 | extern crate crossbeam_channel; |
10 | extern crate rayon; | 10 | extern crate rayon; |
11 | #[macro_use] | 11 | #[macro_use] |
12 | extern crate log; | 12 | extern crate log; |
13 | extern crate cargo_metadata; | ||
13 | extern crate drop_bomb; | 14 | extern crate drop_bomb; |
14 | extern crate url_serde; | ||
15 | extern crate walkdir; | ||
16 | extern crate im; | 15 | extern crate im; |
17 | extern crate relative_path; | 16 | extern crate relative_path; |
18 | extern crate cargo_metadata; | ||
19 | extern crate rustc_hash; | 17 | extern crate rustc_hash; |
18 | extern crate url_serde; | ||
19 | extern crate walkdir; | ||
20 | 20 | ||
21 | extern crate gen_lsp_server; | 21 | extern crate gen_lsp_server; |
22 | extern crate ra_editor; | ||
23 | extern crate ra_analysis; | 22 | extern crate ra_analysis; |
23 | extern crate ra_editor; | ||
24 | extern crate ra_syntax; | 24 | extern crate ra_syntax; |
25 | 25 | ||
26 | mod caps; | 26 | mod caps; |
27 | pub mod req; | ||
28 | mod conv; | 27 | mod conv; |
29 | mod main_loop; | 28 | mod main_loop; |
30 | mod vfs; | ||
31 | mod path_map; | 29 | mod path_map; |
32 | mod server_world; | ||
33 | mod project_model; | 30 | mod project_model; |
31 | pub mod req; | ||
32 | mod server_world; | ||
34 | pub mod thread_watcher; | 33 | pub mod thread_watcher; |
34 | mod vfs; | ||
35 | 35 | ||
36 | pub type Result<T> = ::std::result::Result<T, ::failure::Error>; | 36 | pub type Result<T> = ::std::result::Result<T, ::failure::Error>; |
37 | pub use crate::{ | 37 | pub use crate::{caps::server_capabilities, main_loop::main_loop}; |
38 | main_loop::main_loop, | ||
39 | caps::server_capabilities, | ||
40 | }; | ||