File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ tests_expectations = { path = "tests/expectations" }
24
24
quasi_codegen = " 0.20"
25
25
26
26
[dependencies ]
27
- aster = " 0.28 "
27
+ aster = " 0.33 "
28
28
cexpr = " 0.2"
29
29
cfg-if = " 0.1.0"
30
30
clang-sys = " 0.8.0"
31
31
lazy_static = " 0.1.*"
32
32
libc = " 0.2"
33
33
rustc-serialize = " 0.3.19"
34
34
regex = " 0.1"
35
- quasi = " 0.20 "
35
+ quasi = " 0.25 "
36
36
37
37
[dependencies .clippy ]
38
38
optional = true
@@ -48,7 +48,7 @@ version = "0.3"
48
48
49
49
[dependencies .syntex_syntax ]
50
50
optional = true
51
- version = " 0.44 "
51
+ version = " 0.48 "
52
52
53
53
[features ]
54
54
default = [" logging" , " syntex" ]
Original file line number Diff line number Diff line change 22
22
#[ macro_use]
23
23
extern crate cfg_if;
24
24
extern crate cexpr;
25
- extern crate syntex_syntax as syntax;
26
25
extern crate aster;
27
26
extern crate quasi;
28
27
extern crate clang_sys;
@@ -31,6 +30,12 @@ extern crate regex;
31
30
#[ macro_use]
32
31
extern crate lazy_static;
33
32
33
+ #[ cfg( feature = "syntex" ) ]
34
+ extern crate syntex_syntax as syntax;
35
+
36
+ #[ cfg( not( feature = "syntex" ) ) ]
37
+ extern crate syntax;
38
+
34
39
cfg_if ! {
35
40
if #[ cfg( feature = "logging" ) ] {
36
41
#[ macro_use]
You can’t perform that action at this time.
0 commit comments