mirror of
https://github.com/servo/servo.git
synced 2025-06-19 22:59:03 +01:00
an IPC channel instead. Because this used a boxed trait object to invoke messages across a process boundary, and boxed trait objects are not supported across IPC, we spawn a helper thread inside the compositor to perform the marshaling for us.
28 lines
719 B
Rust
28 lines
719 B
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/. */
|
|
|
|
#![feature(custom_derive, plugin)]
|
|
#![plugin(serde_macros)]
|
|
|
|
extern crate azure;
|
|
#[macro_use] extern crate bitflags;
|
|
extern crate euclid;
|
|
extern crate hyper;
|
|
extern crate ipc_channel;
|
|
extern crate layers;
|
|
extern crate png;
|
|
extern crate rustc_serialize;
|
|
extern crate serde;
|
|
extern crate util;
|
|
extern crate url;
|
|
extern crate style;
|
|
|
|
#[cfg(target_os="macos")]
|
|
extern crate core_foundation;
|
|
#[cfg(target_os="macos")]
|
|
extern crate io_surface;
|
|
|
|
pub mod compositor_msg;
|
|
pub mod constellation_msg;
|
|
pub mod webdriver_msg;
|