Skip to content

Commit 6970146

Browse files
author
bors-servo
authored
Auto merge of servo#215 - Eijebong:bleh-cargo-features-are-hard, r=nox
Add the extra-traits feature to syn in the cssparser-macros crate This feature is needed for that crate to compile but since CI was never compiling it on its own and that cargo features are additive, this never got caught. Fixes servo#214 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/215) <!-- Reviewable:end -->
2 parents 79161ff + 68646fd commit 6970146

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ script:
1212
- cargo test --features dummy_match_byte
1313
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo test --features bench; fi
1414
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo test --features "bench dummy_match_byte"; fi
15+
- cd macros && cargo build --verbose
1516

1617
notifications:
1718
webhooks: http://build.servo.org:54856/travis

macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cssparser-macros"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
authors = ["Simon Sapin <simon.sapin@exyr.org>"]
55
description = "Procedural macros for cssparser"
66
documentation = "https://docs.rs/cssparser-macros/"
@@ -15,5 +15,5 @@ proc-macro = true
1515
procedural-masquerade = {path = "../procedural-masquerade", version = "0.1"}
1616
phf_codegen = "0.7"
1717
quote = "0.4"
18-
syn = {version = "0.12", features = ["full"]}
18+
syn = {version = "0.12", features = ["full", "extra-traits"]}
1919
proc-macro2 = "0.2"

0 commit comments

Comments
 (0)