aboutsummaryrefslogtreecommitdiff
path: root/crates/libanalysis/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libanalysis/src/lib.rs')
-rw-r--r--crates/libanalysis/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/libanalysis/src/lib.rs b/crates/libanalysis/src/lib.rs
index c25d31f4b..20ddb69d6 100644
--- a/crates/libanalysis/src/lib.rs
+++ b/crates/libanalysis/src/lib.rs
@@ -7,10 +7,13 @@ extern crate libeditor;
7extern crate fst; 7extern crate fst;
8extern crate rayon; 8extern crate rayon;
9extern crate relative_path; 9extern crate relative_path;
10#[macro_use]
11extern crate crossbeam_channel;
10 12
11mod symbol_index; 13mod symbol_index;
12mod module_map; 14mod module_map;
13mod imp; 15mod imp;
16mod job;
14 17
15use std::sync::Arc; 18use std::sync::Arc;
16 19
@@ -22,6 +25,7 @@ pub use libeditor::{
22 StructureNode, LineIndex, FileSymbol, 25 StructureNode, LineIndex, FileSymbol,
23 Runnable, RunnableKind, HighlightedRange, CompletionItem, 26 Runnable, RunnableKind, HighlightedRange, CompletionItem,
24}; 27};
28pub use job::{JobToken, JobHandle};
25 29
26#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] 30#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
27pub struct FileId(pub u32); 31pub struct FileId(pub u32);