mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 21:58:41 +02:00
<!-- Please describe your changes on the following line: --> This uses `kmerge` from itertools to construct the jsh future and past iterators without having to do a collect/sort. This allows us to reduce cloning of `FrameState`. --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because refactoring <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: c87d0c671c2ae20a97099f3f369e81eb0ce5e403 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 43070ae1b6bc62aa2af1f0e07c74688a841b11e2
55 lines
1.5 KiB
Rust
55 lines
1.5 KiB
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#![deny(unsafe_code)]
|
|
#![feature(box_syntax)]
|
|
#![feature(conservative_impl_trait)]
|
|
#![feature(mpsc_select)]
|
|
|
|
extern crate backtrace;
|
|
extern crate bluetooth_traits;
|
|
extern crate canvas;
|
|
extern crate canvas_traits;
|
|
extern crate compositing;
|
|
extern crate debugger;
|
|
extern crate devtools_traits;
|
|
extern crate euclid;
|
|
#[cfg(not(target_os = "windows"))]
|
|
extern crate gaol;
|
|
extern crate gfx;
|
|
extern crate gfx_traits;
|
|
extern crate ipc_channel;
|
|
extern crate itertools;
|
|
extern crate layout_traits;
|
|
#[macro_use]
|
|
extern crate log;
|
|
extern crate msg;
|
|
extern crate net;
|
|
extern crate net_traits;
|
|
extern crate offscreen_gl_context;
|
|
extern crate profile_traits;
|
|
extern crate script_traits;
|
|
extern crate serde;
|
|
#[macro_use]
|
|
extern crate serde_derive;
|
|
extern crate servo_config;
|
|
extern crate servo_rand;
|
|
extern crate servo_remutex;
|
|
extern crate servo_url;
|
|
extern crate style_traits;
|
|
extern crate webrender_traits;
|
|
extern crate webvr_traits;
|
|
|
|
mod constellation;
|
|
mod event_loop;
|
|
mod frame;
|
|
mod pipeline;
|
|
#[cfg(not(target_os = "windows"))]
|
|
mod sandboxing;
|
|
mod timer_scheduler;
|
|
|
|
pub use constellation::{Constellation, FromCompositorLogger, FromScriptLogger, InitialConstellationState};
|
|
pub use pipeline::UnprivilegedPipelineContent;
|
|
#[cfg(not(target_os = "windows"))]
|
|
pub use sandboxing::content_process_sandbox_profile;
|