aboutsummaryrefslogtreecommitdiff
path: root/crates/libanalysis/src/lib.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-31 08:27:38 +0100
committerAleksey Kladov <[email protected]>2018-08-31 08:27:38 +0100
commitefa6a952b4cb9c9f139822fbf9781a610bba3813 (patch)
treed631880d0109a691505f03898959490c8db596de /crates/libanalysis/src/lib.rs
parent902df0fc054eb962987a850ba1b32bed59b59623 (diff)
cancelation tokens
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);