Skip to content

Commit 68646fd

Browse files
committed
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
1 parent 79161ff commit 68646fd

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)