Skip to content

Commit a244c3c

Browse files
committed
Update syn to 0.12 and quote to 0.4
1 parent 682087f commit a244c3c

File tree

5 files changed

+155
-241
lines changed

5 files changed

+155
-241
lines changed

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ serde = {version = "1.0", optional = true}
3030
smallvec = "0.6"
3131

3232
[build-dependencies]
33-
syn = "0.11"
34-
quote = "0.3"
33+
syn = { version = "0.12", features = ["extra-traits", "fold"] }
34+
quote = "0.4.1"
35+
proc-macro2 = "0.2"
36+
3537
[features]
3638
bench = []
3739
dummy_match_byte = []

build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5+
#[macro_use]
56
extern crate quote;
7+
#[macro_use]
68
extern crate syn;
9+
extern crate proc_macro2;
710

811
use std::env;
912
use std::path::Path;

0 commit comments

Comments
 (0)