servo/components
bors-servo 0fb5d634a0 Auto merge of #11816 - servo:stable-style, r=nox
Make the style crate (almost) build with a stable compiler

<!-- Please describe your changes on the following line: -->

The bulk of this is adding cargo features to make derived implementations of `heapsize` and `serde` traits optional.

"Almost" because `std::intrinsics::discriminant_value` is currently unstable and doesn’t have any stable replacement that I know of. For now, this PR conditionally replaces it with `unimplemented!()`.

r? @nox

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes <s>fix</s> are part of #11815 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not <s>require tests</s> *have tests yet* because that requires https://github.com/servo/servo/issues/11806, but I still want to land this before it bitrots. (Tests should check that the build succeeds with a stable compiler.)

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11816)
<!-- Reviewable:end -->
2016-06-22 09:43:20 -05:00
..
canvas Make canvas send their data themselves to other canvas 2016-06-16 18:24:04 +01:00
canvas_traits Make canvas send their data themselves to other canvas 2016-06-16 18:24:04 +01:00
compositing Auto merge of #10225 - jmr0:visibility_api, r=jdm 2016-06-16 08:53:56 -05:00
constellation Remove pipeline_to_frame_map 2016-06-21 07:18:11 -06:00
devtools Make the net monitor panel in FF's devtools show meaningful output. 2016-06-06 00:51:36 +01:00
devtools_traits Make the net monitor panel in FF's devtools show meaningful output. 2016-06-06 00:51:36 +01:00
gfx Make it possible to build the style_traits crate with a stable compiler. 2016-06-22 15:40:53 +02:00
gfx_traits Move ByteIndex to gfx_traits. 2016-06-20 19:02:35 +02:00
layout Auto merge of #11752 - mbrubeck:cleanup, r=pcwalton 2016-06-21 17:51:26 -05:00
layout_thread Introduce a layout_thread crate; drop the dependency of layout on script. 2016-06-20 21:23:44 +02:00
layout_traits Remove the layout shutdown channel. 2016-06-04 13:24:32 +02:00
msg Make it possible to build the style_traits crate with a stable compiler. 2016-06-22 15:40:53 +02:00
net Auto merge of #11544 - jdm:privatebrowsing, r=asajeffrey 2016-06-20 14:32:17 -05:00
net_traits Auto merge of #11544 - jdm:privatebrowsing, r=asajeffrey 2016-06-20 14:32:17 -05:00
plugins Update Rust to 1.11.0-nightly (ec872dc8a 2016-06-07) 2016-06-08 14:03:57 +02:00
profile Make it possible to build the style_traits crate with a stable compiler. 2016-06-22 15:40:53 +02:00
profile_traits implement related sw interface and register method 2016-06-02 04:09:39 +05:30
range Use num-traits in range. 2016-04-20 14:59:05 +02:00
script Wrap executions of Rust code called from JS in catch_unwind. Propagate the interrupted panic to the origin of the JS execution via TLS before resuming. Fix #6462. 2016-06-22 09:35:19 -04:00
script_layout_interface Move CSSErrorReporter to script_layout_interface. 2016-06-20 19:08:13 +02:00
script_traits Change style_traits to a single "servo" Cargo feature 2016-06-22 15:48:52 +02:00
servo Auto merge of #11816 - servo:stable-style, r=nox 2016-06-22 09:43:20 -05:00
style Remove some usage of unstable features in geckolib 2016-06-22 15:49:07 +02:00
style_traits Remove some usage of unstable features in geckolib 2016-06-22 15:49:07 +02:00
util Remove some usage of unstable features in geckolib 2016-06-22 15:49:07 +02:00
webdriver_server Added support for navigating by a delta 2016-06-04 18:47:38 -06:00