diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-07-15 14:04:55 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-07-15 14:04:55 -0600 |
commit | ef9715203edf0a280d019b6e8823666f0e7020be (patch) | |
tree | c21d099f633510fffe9d5dfd4faf9fdbf534c3c0 /components/layout/lib.rs | |
parent | b6b95085fbb18496d8104e350f85b6617c19862e (diff) | |
parent | 6eacb0c99586865913c9e92a46a5b5945655bd7d (diff) | |
download | servo-ef9715203edf0a280d019b6e8823666f0e7020be.tar.gz servo-ef9715203edf0a280d019b6e8823666f0e7020be.zip |
Auto merge of #6583 - pcwalton:serializable-display-list, r=metajack
gfx: Make display lists serializable using `serde`.
This commit introduces the `serde` dependency, which we will use to
serialize messages going between processes in multiprocess Servo.
This also adds a new debugging flag, `-Z print-display-list-json`,
allowing the output of display list serialization to be visualized.
This will be useful for our experiments with alternate rasterizers.
r? @metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6583)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/lib.rs')
-rw-r--r-- | components/layout/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/layout/lib.rs b/components/layout/lib.rs index 618a16e9628..f16272f0d22 100644 --- a/components/layout/lib.rs +++ b/components/layout/lib.rs @@ -5,6 +5,7 @@ #![feature(append)] #![feature(arc_unique)] #![feature(box_syntax)] +#![feature(custom_derive)] #![feature(filling_drop)] #![feature(hashmap_hasher)] #![feature(heap_api)] @@ -36,7 +37,6 @@ extern crate profile_traits; #[macro_use] extern crate util; -extern crate rustc_serialize; extern crate azure; extern crate canvas_traits; extern crate clock_ticks; @@ -50,9 +50,11 @@ extern crate ipc_channel; extern crate layout_traits; extern crate libc; extern crate msg; +extern crate rustc_serialize; extern crate script; extern crate script_traits; extern crate selectors; +extern crate serde; extern crate smallvec; extern crate string_cache; extern crate style; |