Skip to content

Commit 01140d6

Browse files
committed
Upgrade aster, syntex_syntax, quasi
1 parent e32005a commit 01140d6

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

libbindgen/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ tests_expectations = { path = "tests/expectations" }
2424
quasi_codegen = "0.20"
2525

2626
[dependencies]
27-
aster = "0.28"
27+
aster = "0.33"
2828
cexpr = "0.2"
2929
cfg-if = "0.1.0"
3030
clang-sys = "0.8.0"
3131
lazy_static = "0.1.*"
3232
libc = "0.2"
3333
rustc-serialize = "0.3.19"
3434
regex = "0.1"
35-
quasi = "0.20"
35+
quasi = "0.25"
3636

3737
[dependencies.clippy]
3838
optional = true
@@ -48,7 +48,7 @@ version = "0.3"
4848

4949
[dependencies.syntex_syntax]
5050
optional = true
51-
version = "0.44"
51+
version = "0.48"
5252

5353
[features]
5454
default = ["logging", "syntex"]

libbindgen/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#[macro_use]
2323
extern crate cfg_if;
2424
extern crate cexpr;
25-
extern crate syntex_syntax as syntax;
2625
extern crate aster;
2726
extern crate quasi;
2827
extern crate clang_sys;
@@ -31,6 +30,12 @@ extern crate regex;
3130
#[macro_use]
3231
extern crate lazy_static;
3332

33+
#[cfg(feature = "syntex")]
34+
extern crate syntex_syntax as syntax;
35+
36+
#[cfg(not(feature = "syntex"))]
37+
extern crate syntax;
38+
3439
cfg_if! {
3540
if #[cfg(feature = "logging")] {
3641
#[macro_use]

0 commit comments

Comments
 (0)