mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Make it possible to build the style_traits crate with a stable compiler.
Testing this on CI to make sure we don’t regress it is blocked on #11806
This commit is contained in:
parent
b9b289c4be
commit
ea73c8efac
20 changed files with 145 additions and 89 deletions
|
@ -8,19 +8,22 @@
|
|||
|
||||
#![crate_name = "style_traits"]
|
||||
#![crate_type = "rlib"]
|
||||
#![feature(custom_derive)]
|
||||
#![feature(plugin)]
|
||||
#![plugin(heapsize_plugin)]
|
||||
#![plugin(serde_macros)]
|
||||
#![plugin(plugins)]
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
#![cfg_attr(feature = "serde-serialization", feature(custom_derive))]
|
||||
#![cfg_attr(feature = "serde-serialization", feature(plugin))]
|
||||
#![cfg_attr(feature = "serde-serialization", plugin(serde_macros))]
|
||||
#![cfg_attr(feature = "heap_size", feature(custom_derive))]
|
||||
#![cfg_attr(feature = "heap_size", feature(plugin))]
|
||||
#![cfg_attr(feature = "heap_size", plugin(heapsize_plugin))]
|
||||
|
||||
#[macro_use]
|
||||
extern crate cssparser;
|
||||
extern crate euclid;
|
||||
extern crate heapsize;
|
||||
#[cfg(feature = "heap_size")] extern crate heapsize;
|
||||
extern crate rustc_serialize;
|
||||
extern crate serde;
|
||||
#[cfg(feature = "serde-serialization")] extern crate serde;
|
||||
extern crate util;
|
||||
|
||||
pub mod cursor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue