Skip to content

Commit 6e2129e

Browse files
author
bors-servo
authored
Auto merge of #341 - hcpl:update-syn-quote-proc-macro2, r=SimonSapin
Update `syn`, `quote` and `proc-macro2` <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/341) <!-- Reviewable:end -->
2 parents d0e8483 + cb08579 commit 6e2129e

File tree

8 files changed

+4
-11
lines changed

8 files changed

+4
-11
lines changed

html5ever/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "html5ever"
4-
version = "0.22.1"
4+
version = "0.22.2"
55
authors = [ "The html5ever Project Developers" ]
66
license = "MIT / Apache-2.0"
77
repository = "https://github.com/servo/html5ever"
@@ -41,6 +41,6 @@ rustc-test = "0.3"
4141
typed-arena = "1.3.0"
4242

4343
[build-dependencies]
44-
quote = "0.4"
45-
syn = { version = "0.12", features = ["extra-traits", "full", "fold"] }
46-
proc-macro2 = "0.2"
44+
quote = "0.5"
45+
syn = { version = "0.13", features = ["extra-traits", "full", "fold"] }
46+
proc-macro2 = "0.3"

html5ever/src/tokenizer/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ use self::char_ref::{CharRef, CharRefTokenizer};
2323

2424
use util::str::lower_ascii_letter;
2525

26-
#[allow(unused_imports)] use std::ascii::AsciiExt;
2726
use std::mem::replace;
2827
use std::default::Default;
2928
use std::borrow::Cow::{self, Borrowed};

html5ever/src/tree_builder/data.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use interface::{QuirksMode, Quirks, LimitedQuirks, NoQuirks};
1111
use tendril::StrTendril;
1212
use tokenizer::Doctype;
13-
#[allow(unused_imports)] use std::ascii::AsciiExt;
1413

1514
// These should all be lowercase, for ASCII-case-insensitive matching.
1615
static QUIRKY_PUBLIC_PREFIXES: &'static [&'static str] = &[

html5ever/src/tree_builder/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ use tokenizer::states as tok_state;
2727
use util::str::is_ascii_whitespace;
2828

2929
use std::{slice, fmt};
30-
#[allow(unused_imports)] use std::ascii::AsciiExt;
3130
use std::borrow::Cow::Borrowed;
3231
use std::collections::VecDeque;
3332
use std::default::Default;

markup5ever/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ extern crate serde_derive;
1414
extern crate serde_json;
1515

1616
use std::collections::HashMap;
17-
#[allow(unused_imports)] use std::ascii::AsciiExt;
1817
use std::env;
1918
use std::fs::File;
2019
use std::io::{Write, BufWriter, BufReader, BufRead};

markup5ever/interface/tree_builder.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
/// Adjacent sibling text nodes are merged into a single node, so
1313
/// the sink may not want to allocate a `Handle` for each.
1414
15-
#[allow(unused_imports)] use std::ascii::AsciiExt;
1615
use std::borrow::Cow;
1716
use tendril::StrTendril;
1817
use interface::{QualName, ExpandedName, Attribute};

markup5ever/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ pub use util::smallcharset::SmallCharSet;
5353
#[cfg(test)]
5454
#[allow(non_snake_case)]
5555
mod test {
56-
#[allow(unused_imports)] use std::ascii::AsciiExt;
5756
use tendril::SliceExt;
5857

5958
use super::util::buffer_queue::{BufferQueue, FromSet, NotFromSet};

xml5ever/src/tokenizer/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ pub use {Prefix, LocalName, Namespace};
2121

2222
use {Attribute, QualName, SmallCharSet, buffer_queue};
2323
use std::borrow::Cow::{self, Borrowed};
24-
#[allow(unused_imports)] use std::ascii::AsciiExt;
2524
use std::collections::{BTreeMap};
2625
use std::mem::replace;
2726
use tendril::StrTendril;

0 commit comments

Comments
 (0)